defmodule AshHqWeb.Pages.UserSettings do @moduledoc "User settings page" use Surface.LiveComponent alias AshHqWeb.Router.Helpers, as: Routes alias Surface.Components.Form alias Surface.Components.Form.{ ErrorTag, Field, Label, PasswordInput, Submit, TextArea, TextInput } prop current_user, :map, required: true data email_form, :map data password_form, :map data merch_form, :map data address, :string data name, :string def render(assigns) do ~F"""

Change Email

{#if @email_form.submitted_once?}

Oops, something went wrong! Please check the errors below.

{/if}
Update Email

Change Password

{#if @password_form.submitted_once?}

Oops, something went wrong! Please check the errors below.

{/if}
Change Password

Merch Settings

{#if @merch_form.submitted_once?}

Oops, something went wrong! Please check the errors below.

{/if}