2016-11-03 12:29:30 +05:30
|
|
|
= render 'devise/shared/tab_single', tab_title:'Change your password'
|
2015-04-26 12:48:37 +05:30
|
|
|
.login-box
|
|
|
|
.login-body
|
2016-11-03 12:29:30 +05:30
|
|
|
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put, class: 'show-gl-field-errors' }) do |f|
|
2014-09-02 18:07:02 +05:30
|
|
|
.devise-errors
|
|
|
|
= devise_error_messages!
|
|
|
|
= f.hidden_field :reset_password_token
|
2016-11-03 12:29:30 +05:30
|
|
|
.form-group
|
|
|
|
= f.label 'New password', for: :password
|
|
|
|
= f.password_field :password, class: "form-control top", required: true, title: 'This field is required'
|
|
|
|
.form-group
|
|
|
|
= f.label 'Confirm new password', for: :password_confirmation
|
|
|
|
= f.password_field :password_confirmation, class: "form-control bottom", title: 'This field is required', required: true
|
2015-04-26 12:48:37 +05:30
|
|
|
.clearfix
|
|
|
|
= f.submit "Change your password", class: "btn btn-primary"
|
|
|
|
|
|
|
|
.clearfix.prepend-top-20
|
|
|
|
%p
|
2016-11-03 12:29:30 +05:30
|
|
|
%span.light Didn't receive a confirmation email?
|
|
|
|
= link_to "Request a new one", new_confirmation_path(resource_name)
|
|
|
|
= render 'devise/shared/sign_in_link'
|