meta/lib/recycledcloud_web/templates/user_confirmation/new.html.eex
Timothée Floure 56d2d5bccf
Run mix phx.gen.auth Accounts User users
Uses phx_gen_auth as a scaffold to build our own logic.
2020-12-15 14:24:14 +01:00

15 lines
425 B
Elixir

<h1>Resend confirmation instructions</h1>
<%= form_for :user, Routes.user_confirmation_path(@conn, :create), fn f -> %>
<%= label f, :email %>
<%= email_input f, :email, required: true %>
<div>
<%= submit "Resend confirmation instructions" %>
</div>
<% end %>
<p>
<%= link "Register", to: Routes.user_registration_path(@conn, :new) %> |
<%= link "Log in", to: Routes.user_session_path(@conn, :new) %>
</p>