phoenix_passkeys/lib/phoenix_passkeys_web/controllers/user_reset_password_html/new.html.heex

21 lines
675 B
Plaintext
Raw Normal View History

2023-10-12 03:03:10 +00:00
<div class="mx-auto max-w-sm">
<.header class="text-center">
2023-10-15 02:46:30 +00:00
Lost your passkey
<:subtitle>We'll send a passkey reset link to your inbox</:subtitle>
2023-10-12 03:03:10 +00:00
</.header>
<.simple_form :let={f} for={@conn.params["user"]} as={:user} action={~p"/users/reset_password"}>
<.input field={f[:email]} type="email" placeholder="Email" required />
<:actions>
<.button phx-disable-with="Sending..." class="w-full">
2023-10-15 02:46:30 +00:00
Send passkey reset instructions
2023-10-12 03:03:10 +00:00
</.button>
</:actions>
</.simple_form>
<p class="text-center text-sm mt-4">
<.link href={~p"/users/register"}>Register</.link>
| <.link href={~p"/users/log_in"}>Log in</.link>
</p>
</div>