2022-04-06 14:13:54 -04:00
|
|
|
<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-06 14:13:54 -04:00
|
|
|
|
2022-04-21 21:19:22 -04:00
|
|
|
<div class="form-group mt-2">
|
|
|
|
<%= submit "Send instructions to reset password", class: "btn btn-primary" %>
|
2022-04-06 14:13:54 -04:00
|
|
|
</div>
|
|
|
|
</.form>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<%= link "Register", to: Routes.user_registration_path(@conn, :new) %> |
|
|
|
|
<%= link "Log in", to: Routes.user_session_path(@conn, :new) %>
|
|
|
|
</p>
|