summaryrefslogtreecommitdiff
path: root/lib/aggiedit_web/templates/user_reset_password/new.html.heex
blob: 792547bc5a9ba542262b153acee3e635a5e68bd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<h1>Forgot your password?</h1>

<.form let={f} for={:user} action={Routes.user_reset_password_path(@conn, :create)}>
  <div class="form-group mt-2">
    <%= label f, :email %>
    <%= email_input f, :email, required: true, class: "form-control" %>
  </div>

  <div class="form-group mt-2">
    <%= submit "Send instructions to reset password", class: "btn btn-primary" %>
  </div>
</.form>

<p>
  <%= link "Register", to: Routes.user_registration_path(@conn, :new) %> |
  <%= link "Log in", to: Routes.user_session_path(@conn, :new) %>
</p>