Aggiedit/lib/aggiedit_web/templates/user_reset_password/new.html.heex

18 lines
541 B
Plaintext
Raw Normal View History

<h1>Forgot your password?</h1>
<.form let={f} for={:user} action={Routes.user_reset_password_path(@conn, :create)}>
2022-04-21 21:19:22 -04:00
<div class="form-group mt-2">
<%= label f, :email %>
<%= email_input f, :email, required: true, class: "form-control" %>
</div>
2022-04-21 21:19:22 -04:00
<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>