<%=t "devise.passwords.edit.title" %>
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
<% if not resource.errors.empty? %>
<%= devise_error_messages! %>
<% end %>
<%= f.hidden_field :reset_password_token %>
<%= f.label :password, t("devise.passwords.edit.password") %>
<% if @minimum_password_length %>
<%= t("devise.passwords.edit.password_length", min_length: @minimum_password_length) %>
<% end %>
<%= f.password_field :password, autofocus: true, autocomplete: "off", class: "form-control" %>
<%= f.label :password_confirmation, t("devise.passwords.edit.password_confirm") %>
<%= f.password_field :password_confirmation, autocomplete: "off", class: "form-control" %>
<%= f.submit t("devise.passwords.edit.submit"), class: "btn btn-primary" %>
<% end %>
<%= render "users/shared/links" %>