18 lines
480 B
Plaintext
18 lines
480 B
Plaintext
|
<%= content_for :title, t(".reset_password") %>
|
||
|
|
||
|
<h2><%= t(".reset_password") %></h2>
|
||
|
|
||
|
<section class="inset">
|
||
|
<%= form_with url: password_reset_path(id: @user.username), method: :patch do |f| %>
|
||
|
<%= f.hidden_field :token, value: @token %>
|
||
|
|
||
|
<%= f.label :password %>
|
||
|
<%= f.password_field :password %>
|
||
|
|
||
|
<%= f.label :password_confirmation %>
|
||
|
<%= f.password_field :password_confirmation %>
|
||
|
|
||
|
<%= f.submit t(".reset_password_button") %>
|
||
|
<% end %>
|
||
|
</section>
|