2016-10-10 10:34:57 -04:00
|
|
|
= render 'devise/shared/tab_single', tab_title:'Change your password'
|
2014-08-15 10:52:20 -04:00
|
|
|
.login-box
|
|
|
|
.login-body
|
2017-12-05 04:01:46 -05:00
|
|
|
= form_for(resource, as: resource_name, url: password_path(:user), html: { method: :put, class: 'gl-show-field-errors' }) do |f|
|
2014-07-11 09:05:57 -04:00
|
|
|
.devise-errors
|
|
|
|
= devise_error_messages!
|
|
|
|
= f.hidden_field :reset_password_token
|
2016-09-09 08:21:00 -04:00
|
|
|
.form-group
|
2017-05-16 08:13:56 -04:00
|
|
|
= f.label 'New password', for: "user_password"
|
2018-09-18 16:15:02 -04:00
|
|
|
= f.password_field :password, class: "form-control top qa-password-field", required: true, title: 'This field is required'
|
2016-09-09 08:21:00 -04:00
|
|
|
.form-group
|
2017-05-16 08:13:56 -04:00
|
|
|
= f.label 'Confirm new password', for: "user_password_confirmation"
|
2018-09-18 16:15:02 -04:00
|
|
|
= f.password_field :password_confirmation, class: "form-control bottom qa-password-confirmation", title: 'This field is required', required: true
|
2015-02-05 09:56:58 -05:00
|
|
|
.clearfix
|
2018-09-18 16:15:02 -04:00
|
|
|
= f.submit "Change your password", class: "btn btn-primary qa-change-password-button"
|
2015-02-05 09:56:58 -05:00
|
|
|
|
|
|
|
.clearfix.prepend-top-20
|
|
|
|
%p
|
2016-09-09 08:21:00 -04:00
|
|
|
%span.light Didn't receive a confirmation email?
|
2017-12-05 04:01:46 -05:00
|
|
|
= link_to "Request a new one", new_confirmation_path(:user)
|
2016-09-09 08:21:00 -04:00
|
|
|
= render 'devise/shared/sign_in_link'
|