={@<%= scope_config.scope.assign_key %>}>
<.header>
Account Settings
<:subtitle>Manage your account email address and password settings
<.form :let={f} for={@email_changeset} action={~p"<%= schema.route_prefix %>/settings"} id="update_email">
<.input field={f[:email]} type="email" label="Email" autocomplete="username" required />
<.button variant="primary" phx-disable-with="Changing...">Change Email
<.form :let={f} for={@password_changeset} action={~p"<%= schema.route_prefix %>/settings"} id="update_password">
<.input
field={f[:password]}
type="password"
label="New password"
autocomplete="new-password"
required
/>
<.input
field={f[:password_confirmation]}
type="password"
label="Confirm new password"
autocomplete="new-password"
required
/>
<.button variant="primary" phx-disable-with="Changing...">
Save Password