debian-mirror-gitlab/app/views/devise/passwords/edit.html.haml

20 lines
795 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
.login-box
.login-heading
%h3 Change your password
.login-body
2014-09-02 18:07:02 +05:30
= 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
%div
= f.password_field :password, class: "form-control top", placeholder: "New password", required: true
%div
= f.password_field :password_confirmation, class: "form-control bottom", placeholder: "Confirm new password", 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
= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name)
= render 'devise/shared/sign_in_link'