ยฉ 2026 Hedgehog Software, LLC
socket.assigns.current_tenant
def mount(_params, _session, socket) do form = MyApp.Team.form_to_create_person( actor: socket.assigns.current_user, tenant: socket.assigns.current_tenant ) |> AshPhoenix.Form.ensure_can_submit!() socket = socket |> assign(:form, to_form(form)) |> assign(:page_title, "New Person") |> assign(:role_options, role_options()) {:ok, socket} end
socket.assigns.current_user