2017-10-19 17:37:24 +02:00
|
|
|
<h2>Password Reset for <%= @user.nickname %></h2>
|
2019-06-24 21:01:56 +02:00
|
|
|
<%= form_for @conn, reset_password_path(@conn, :do_reset), [as: "data"], fn f -> %>
|
2019-03-27 17:07:20 +01:00
|
|
|
<div class="form-row">
|
|
|
|
<%= label f, :password, "Password" %>
|
|
|
|
<%= password_input f, :password %>
|
|
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
|
|
<%= label f, :password_confirmation, "Confirmation" %>
|
|
|
|
<%= password_input f, :password_confirmation %>
|
|
|
|
</div>
|
|
|
|
<%= hidden_input f, :token, value: @token.token %>
|
|
|
|
<%= submit "Reset" %>
|
2017-10-19 17:37:24 +02:00
|
|
|
<% end %>
|