<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { class: 'form-signin', method: :put }) do |f| %>
Change your password
<%= devise_error_messages! %>
<%= f.hidden_field :reset_password_token %>
<% if @minimum_password_length %>
(<%= @minimum_password_length %> characters minimum)
<% end %>
<%= f.password_field :password, autofocus: true, autocomplete: "off", class: 'form-control', placeholder: 'Password' %>
<%= f.password_field :password_confirmation, autocomplete: "off", class: 'form-control', placeholder: 'Password confirmation' %>
<%= f.submit "Change my password", class: "btn btn-lg btn-primary btn-block" %>
<%= render "devise/shared/links" %>
<% end %>