mirror of
https://github.com/we-promise/sure.git
synced 2026-04-10 15:54:48 +00:00
* 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
26 lines
546 B
Plaintext
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 %>
|
|
|