Aggiedit/lib/aggiedit_web/templates/user_reset_password/new.html.heex
2022-04-21 19:19:22 -06:00

18 lines
541 B
Plaintext

<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>