21 lines
781 B
Plaintext
21 lines
781 B
Plaintext
<div class="mx-auto max-w-sm">
|
|
<.header class="text-center">
|
|
No confirmation instructions received?
|
|
<:subtitle>We'll send a new confirmation link to your inbox</:subtitle>
|
|
</.header>
|
|
|
|
<.simple_form :let={f} for={@conn.params["<%= schema.singular %>"]} as={:<%= schema.singular %>} action={~p"<%= schema.route_prefix %>/confirm"}>
|
|
<.input field={f[:email]} type="email" placeholder="Email" required />
|
|
<:actions>
|
|
<.button phx-disable-with="Sending..." class="w-full">
|
|
Resend confirmation instructions
|
|
</.button>
|
|
</:actions>
|
|
</.simple_form>
|
|
|
|
<p class="text-center mt-4">
|
|
<.link href={~p"<%= schema.route_prefix %>/register"}>Register</.link>
|
|
| <.link href={~p"<%= schema.route_prefix %>/log_in"}>Log in</.link>
|
|
</p>
|
|
</div>
|