<.settings_tiles> <.tile :if={Plausible.Users.type(@current_user) == :standard}> <:title> Your name <.form :let={f} action={Routes.settings_path(@conn, :update_name)} for={@name_changeset} method="post" > <.input type="text" field={f[:name]} label="Name" width="w-1/2" mt?={false} /> <.button type="submit"> Change name <.tile :if={Plausible.Users.type(@current_user) == :sso}> <:title> Your name <.form :let={f} for={@name_changeset}> <.input type="text" field={f[:name]} disabled={true} label="Name" width="w-1/2" mt?={false} /> <.tile docs="dashboard-appearance"> <:title> Appearance <.form :let={f} action={Routes.settings_path(@conn, :update_theme)} for={@theme_changeset} method="post" > <.input type="select" field={f[:theme]} options={Plausible.Themes.options()} label="Theme" width="w-1/2" mt?={false} /> <.button type="submit"> Change theme