2012-08-10 18:07:50 -04:00
|
|
|
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put, class: "login-box" }) do |f|
|
2012-02-20 13:37:37 -05:00
|
|
|
%h3 Change your password
|
|
|
|
= devise_error_messages!
|
|
|
|
= f.hidden_field :reset_password_token
|
|
|
|
%div
|
2012-08-10 18:07:50 -04:00
|
|
|
= f.password_field :password, class: "text top", placeholder: "New password"
|
2012-02-20 13:37:37 -05:00
|
|
|
%div
|
2012-08-10 18:07:50 -04:00
|
|
|
= f.password_field :password_confirmation, class: "text bottom", placeholder: "Confirm new password"
|
2012-02-20 13:37:37 -05:00
|
|
|
%div
|
2013-10-27 06:50:18 -04:00
|
|
|
.clearfix.append-bottom-10
|
2013-01-29 15:18:19 -05:00
|
|
|
= f.submit "Change my password", class: "btn btn-primary"
|
2013-10-27 06:50:18 -04:00
|
|
|
= link_to "Sign in", new_session_path(resource_name), class: "btn pull-right"
|
|
|
|
%div
|
|
|
|
= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name)
|