summaryrefslogtreecommitdiff
path: root/app/views/devise/passwords/edit.html.haml
blob: f6cbf9b82ba4edfb24486384e1173fb1d76feb12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.login-box
  .login-heading
    %h3 Change your password
  .login-body
    = 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
      .form-group#password-strength
        = f.password_field :password, class: "form-control top", id: "user_password_recover", placeholder: "New password", required: true
      %div
        = f.password_field :password_confirmation, class: "form-control bottom", placeholder: "Confirm new password", required: true
      .clearfix.append-bottom-10
        = f.submit "Change my password", class: "btn btn-primary"
  .login-footer
    %p
      = link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name)
    = render 'devise/shared/sign_in_link'