reset.html.eex 481 Bytes
Newer Older
Roger Braun's avatar
Roger Braun committed
1
<h2>Password Reset for <%= @user.nickname %></h2>
2
<%= form_for @conn, reset_password_path(@conn, :do_reset), [as: "data"], fn f -> %>
3 4 5 6 7 8 9 10 11 12
  <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" %>
Roger Braun's avatar
Roger Braun committed
13
<% end %>