app/views/devise/passwords/edit.html.haml
- content_for :title, 'Change your password'
%h2= yield :title
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
= devise_error_messages!
= f.hidden_field :reset_password_token
.form-group
= f.label :password, "New password"
= f.password_field :password, autofocus: true, autocomplete: "off", class: "form-control"
= f.submit "Change my password", class: "btn btn-default"
= render "devise/shared/links"