2014-08-15 10:52:20 -04:00
|
|
|
.login-box
|
|
|
|
.login-heading
|
|
|
|
%h3 Change your password
|
|
|
|
.login-body
|
2014-07-11 09:05:57 -04:00
|
|
|
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
|
|
|
|
.devise-errors
|
|
|
|
= devise_error_messages!
|
|
|
|
= f.hidden_field :reset_password_token
|
2015-01-15 08:02:09 -05:00
|
|
|
%div
|
|
|
|
= f.password_field :password, class: "form-control top", placeholder: "New password", required: true
|
2014-07-11 09:05:57 -04:00
|
|
|
%div
|
|
|
|
= f.password_field :password_confirmation, class: "form-control bottom", placeholder: "Confirm new password", required: true
|
2015-02-05 09:56:58 -05:00
|
|
|
.clearfix
|
2015-03-22 23:10:12 -04:00
|
|
|
= f.submit "Change your password", class: "btn btn-primary"
|
2015-02-05 09:56:58 -05:00
|
|
|
|
|
|
|
.clearfix.prepend-top-20
|
|
|
|
%p
|
|
|
|
= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name)
|
|
|
|
= render 'devise/shared/sign_in_link'
|