Files
sure/app/views/passwords/edit.html.erb
Jose Farias c5192ee424 Centralize auth messages (#269)
* Add i18n-tasks

* Add auth-related i18n

* Centralize auth messages

* Remove safe navigation

* Revert "Remove safe navigation"

This reverts commit 56b5e01e5e0ab9f54a9a5d9f5559e29897d239a4.

* Remove newline in Gemfile
2024-02-03 14:17:49 -06:00

26 lines
546 B
Plaintext

<h1>Update Password</h1>
<%= form_with model: current_user, url: password_path do |form| %>
<%= auth_messages form %>
<div>
<%= form.label :password_challenge, "Current Password" %>
<%= form.password_field :password_challenge %>
</div>
<div>
<%= form.label :password, "New Password" %>
<%= form.password_field :password %>
</div>
<div>
<%= form.label :password_confirmation %>
<%= form.password_field :password_confirmation %>
</div>
<div>
<%= form.submit 'Update Password' %>
</div>
<% end %>