Files
manyfold/app/views/devise/passwords/edit.html.erb
T
2025-10-24 15:54:47 +01:00

13 lines
559 B
ERB

<h2><%= t(".change_your_password") %></h2>
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: {method: :put, class: "tabular-form"}) do |f| %>
<%= f.hidden_field :reset_password_token %>
<%= password_input_row f, :password, autocomplete: "new-password", autofocus: true, strength_meter: true %>
<%= password_input_row f, :password_confirmation, autocomplete: "new-password" %>
<div>
<%= f.submit translate(".change_my_password"), class: "btn btn-primary" %>
</div>
<% end %>
<%= render "devise/shared/links" %>