2012-08-10 22:07:50 +00:00
|
|
|
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put, class: "login-box" }) do |f|
|
2012-02-20 18:37:37 +00:00
|
|
|
%h3 Change your password
|
2013-12-16 19:11:52 +00:00
|
|
|
.devise-errors
|
|
|
|
= devise_error_messages!
|
2012-02-20 18:37:37 +00:00
|
|
|
= f.hidden_field :reset_password_token
|
|
|
|
%div
|
2014-01-01 18:53:44 +00:00
|
|
|
= f.password_field :password, class: "form-control top", placeholder: "New password", required: true
|
2012-02-20 18:37:37 +00:00
|
|
|
%div
|
2014-01-01 18:53:44 +00:00
|
|
|
= f.password_field :password_confirmation, class: "form-control bottom", placeholder: "Confirm new password", required: true
|
2012-02-20 18:37:37 +00:00
|
|
|
%div
|
2013-10-27 10:50:18 +00:00
|
|
|
.clearfix.append-bottom-10
|
2013-01-29 20:18:19 +00:00
|
|
|
= f.submit "Change my password", class: "btn btn-primary"
|
2013-10-27 10:50:18 +00: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)
|