Change Your Password
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put, role: "form" }) do |f| %> <%= devise_error_messages! %> <%= f.input :reset_password_token, as: :hidden %>
<%= f.password_field :password, label: "New password", required: true, autofocus: true, hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length), class: "form-control", :placeholder => "New Password" %>
<%= f.password_field :password_confirmation, label: "Confirm your new password", required: true, class: "form-control", :placeholder => "Confirm Password" %>
<%= f.submit "Change my password", class: "btn btn-primary" %>
<%= render "devise/shared/links" %>
<% end %>