2020-12-15 14:24:14 +01:00
|
|
|
<h1>Forgot your password?</h1>
|
|
|
|
|
|
|
|
<%= form_for :user, Routes.user_reset_password_path(@conn, :create), fn f -> %>
|
2020-12-21 15:40:19 +01:00
|
|
|
<%= text_input f, :username, required: true, placeholder: "Username" %>
|
2020-12-15 14:24:14 +01:00
|
|
|
|
|
|
|
<div>
|
|
|
|
<%= submit "Send instructions to reset password" %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<%= link "Register", to: Routes.user_registration_path(@conn, :new) %> |
|
|
|
|
<%= link "Log in", to: Routes.user_session_path(@conn, :new) %>
|
|
|
|
</p>
|