<.header class="text-center"> Account Settings <:subtitle>Manage your account email address and passkey settings
<.simple_form :let={f} for={@email_changeset} action={~p"/users/settings"} id="update_email"> <.error :if={@email_changeset.action}> Oops, something went wrong! Please check the errors below. <.input field={f[:action]} type="hidden" name="action" value="update_email" /> <.input field={f[:email]} type="email" label="Email" required /> <:actions> <.button phx-disable-with="Changing...">Change Email