<%= t("devise.passwords.edit.title") %>

<%= decidim_form_for(resource, namespace: "password", as: resource_name, url: @send_path || password_path(resource_name), html: { method: :put, class: "register-form new_user" }) do |f| %> <%= form_required_explanation %> <%= f.hidden_field :reset_password_token %>
<%= f.password_field :password, password_field_options_for(current_user || params["reset_password_token"]) %>
<%= f.password_field :password_confirmation, password_field_options_for(current_user || params["reset_password_token"]).except(:help_text) %>
<%= f.submit t("devise.passwords.edit.change_my_password"), class: "button expanded" %>
<% end %> <% unless current_user %> <%= render "decidim/devise/shared/links" %> <% end %>