Update Password

<%= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %> <%= f.input :reset_password_token, as: :hidden %> <%= f.full_error :reset_password_token %>
<%= f.label :password, class: "label" %>

<%= f.input_field :password, required: true, autofocus: true, autocomplete: "new-password", hint: ("#{@minimum_password_length} characters minimum"), class: "input" %>

<%= f.full_error :password, class: "help is-danger" %>
<%= f.label :password_confirmation, class: "label" %>

<%= f.input_field :password_confirmation, required: true, autocomplete: "new-password", class: "input" %>

<%= f.full_error :password_confirmation, class: "help is-danger" %>

<%= f.button :submit, "Update password", class: "button is-primary is-fullwidth is-rounded" %>

<% end %> <%= render "devise/shared/links" %>