2017-10-19 15:37:24 +00:00
|
|
|
<h2>Password Reset for <%= @user.nickname %></h2>
|
2021-05-18 22:11:25 +00:00
|
|
|
<%= form_for @conn, Routes.reset_password_path(@conn, :do_reset), [as: "data"], fn f -> %>
|
2019-03-27 16:07:20 +00:00
|
|
|
<div class="form-row">
|
2022-02-28 06:04:04 +00:00
|
|
|
<%= label f, :password, Gettext.dpgettext("static_pages", "password reset form password prompt", "Password") %>
|
2019-03-27 16:07:20 +00:00
|
|
|
<%= password_input f, :password %>
|
|
|
|
</div>
|
|
|
|
<div class="form-row">
|
2022-02-28 06:04:04 +00:00
|
|
|
<%= label f, :password_confirmation, Gettext.dpgettext("static_pages", "password reset form confirm password prompt", "Confirmation") %>
|
2019-03-27 16:07:20 +00:00
|
|
|
<%= password_input f, :password_confirmation %>
|
|
|
|
</div>
|
|
|
|
<%= hidden_input f, :token, value: @token.token %>
|
2022-02-28 06:04:04 +00:00
|
|
|
<%= submit Gettext.dpgettext("static_pages", "password reset button", "Reset") %>
|
2017-10-19 15:37:24 +00:00
|
|
|
<% end %>
|