Change Your Password
<%= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put, class: 'form-vertical multiple_tags', role: 'form' }) do |f| %> <%= f.error_notification %> <%= f.full_error :reset_password_token %> <%= render 'shared/validation', object: f.object %> <%= f.input :reset_password_token, as: :hidden %>
<%= f.input_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.input_field :password_confirmation, label: "Confirm your new password", required: true, :class => "form-control", :placeholder => "Confirm Password" %>
<%= f.button :submit, "Change my password", :class => "btn btn-primary" %>
<%= render "devise/shared/links" %>
<% end %>