gitlab-org--gitlab-foss/app/views/devise/passwords/edit.html.haml

12 lines
545 B
Plaintext
Raw Normal View History

= 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
= devise_error_messages!
= f.hidden_field :reset_password_token
%div
= f.password_field :password, class: "text top", placeholder: "New password"
2012-02-20 18:37:37 +00:00
%div
= f.password_field :password_confirmation, class: "text bottom", placeholder: "Confirm new password"
2012-02-20 18:37:37 +00:00
%div
2013-01-29 20:18:19 +00:00
= f.submit "Change my password", class: "btn btn-primary"
2013-01-30 14:40:43 +00:00
.pull-right= render partial: "devise/shared/links"