From 6bc802b22af3a5a477a3b6d301d735b44b3ee667 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 4 Jan 2026 11:41:26 -0600 Subject: [PATCH] Add global header to new organization page All authenticated pages now have consistent navigation header. Login/registration pages keep simple layout as they're for unauthenticated users. --- lib/towerops_web/live/org_live/new.html.heex | 28 +++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/lib/towerops_web/live/org_live/new.html.heex b/lib/towerops_web/live/org_live/new.html.heex index b6c86951..c6d3d70a 100644 --- a/lib/towerops_web/live/org_live/new.html.heex +++ b/lib/towerops_web/live/org_live/new.html.heex @@ -1,15 +1,17 @@ -<.header> - {@page_title} - <:subtitle>Create a new organization to manage your sites and equipment - + + <.header> + {@page_title} + <:subtitle>Create a new organization to manage your sites and equipment + -
- <.form for={@form} id="organization-form" phx-change="validate" phx-submit="save"> - <.input field={@form[:name]} type="text" label="Organization Name" required /> +
+ <.form for={@form} id="organization-form" phx-change="validate" phx-submit="save"> + <.input field={@form[:name]} type="text" label="Organization Name" required /> -
- <.button phx-disable-with="Creating..." variant="primary">Create Organization - <.button navigate={~p"/orgs"}>Cancel -
- -
+
+ <.button phx-disable-with="Creating..." variant="primary">Create Organization + <.button navigate={~p"/orgs"}>Cancel +
+ +
+