towerops/lib/towerops_web/controllers/user_confirmation_html/new.html.heex

15 lines
632 B
Text

<Layouts.app flash={@flash} current_scope={@current_scope}>
<div class="mx-auto max-w-sm">
<.header>{t_auth("Resend confirmation instructions")}</.header>
<.form for={%{}} as={:user} action={~p"/users/confirm"} class="mt-8">
<.input name="user[email]" type="email" label={t_auth("Email")} required />
<.button class="w-full mt-4">{t_auth("Resend confirmation instructions")}</.button>
</.form>
<p class="text-center text-sm mt-4">
<.link href={~p"/users/log-in"}>{t_auth("Log in")}</.link>
| <.link href={~p"/users/register"}>{t_auth("Register")}</.link>
</p>
</div>
</Layouts.app>