diff --git a/lib/shift73k_web/live/shift_template_live/delete_component.html.heex b/lib/shift73k_web/live/shift_template_live/delete_component.html.heex
new file mode 100644
index 00000000..a2cf1369
--- /dev/null
+++ b/lib/shift73k_web/live/shift_template_live/delete_component.html.heex
@@ -0,0 +1,23 @@
+
-
- Are you sure you want to delete "<%= @delete_shift_template.subject %>
- (<%= format_shift_time(@delete_shift_template.time_start) %>
- —
- <%= format_shift_time(@delete_shift_template.time_end) %>)"?
-
-
-
diff --git a/lib/shift73k_web/live/shift_template_live/form_component.html.heex b/lib/shift73k_web/live/shift_template_live/form_component.html.heex
new file mode 100644
index 00000000..a2ce3b52
--- /dev/null
+++ b/lib/shift73k_web/live/shift_template_live/form_component.html.heex
@@ -0,0 +1,123 @@
+
+
+ <%= form_for @changeset, "#", [
+ id: "shift_template-form",
+ phx_target: @myself,
+ phx_change: "validate",
+ phx_submit: "save"
+ ], fn f -> %>
+
+
+
+ <%= label f, :subject, "Subject/Title", class: "form-label" %>
+
+
+ <%= text_input f, :subject,
+ value: input_value(f, :subject),
+ class: input_class(f, :subject, "form-control"),
+ autofocus: true,
+ phx_debounce: 250,
+ aria_describedby: error_ids(f, :subject)
+ %>
+ <%= error_tag f, :subject %>
+
+
+
+
+
+ <%= label f, :time_start, "Start", class: "form-label" %>
+ <%= time_input f, :time_start,
+ precision: :minute,
+ value: input_value(f, :time_start),
+ class: input_class(f, :time_start, "form-control"),
+ aria_describedby: error_ids(f, :time_start),
+ required: true
+ %>
+
+
+
+ <%= label f, :time_end, "End", class: "form-label" %>
+ <%= time_input f, :time_end,
+ precision: :minute,
+ value: input_value(f, :time_end),
+ class: input_class(f, :time_end, "form-control"),
+ aria_describedby: error_ids(f, :time_end),
+ required: true
+ %>
+
+
+
+
+
Shift length: <%= @shift_length %>
+
+
+ <%= error_tag f, :time_start %>
+
+
+ <%= error_tag f, :time_end %>
+
+
+
+
+ <%= label f, :location, class: "form-label mt-3" %>
+
+
+ <%= text_input f, :location,
+ value: input_value(f, :location),
+ class: input_class(f, :location, "form-control"),
+ phx_debounce: 250,
+ aria_describedby: error_ids(f, :location)
+ %>
+ <%= error_tag f, :location %>
+
+
+
+ <%= label f, :description, class: "form-label" %>
+
+
+ <%= textarea f, :description,
+ value: input_value(f, :description),
+ class: input_class(f, :description, "form-control"),
+ phx_debounce: 250,
+ aria_describedby: error_ids(f, :description)
+ %>
+ <%= error_tag f, :description %>
+
+
+
+ <%= label f, :time_zone, class: "form-label" %>
+
+
+ <%= text_input f, :time_zone,
+ value: input_value(f, :time_zone),
+ class: input_class(f, :time_zone, "form-control"),
+ phx_debounce: 250,
+ list: "tz_list"
+ %>
+
+ <%= for tz_name <- Tzdata.zone_list() do %>
+
+ <% end %>
+
+
Type to search & select from list of known <%= link "IANA tz database", to: "https://en.wikipedia.org/wiki/List_of_tz_database_time_zones", target: "_blank" %> time zones
+ <%= error_tag f, :time_zone %>
+
+
+
+
+
+
+
+ <% end %>
+
+
diff --git a/lib/shift73k_web/live/shift_template_live/form_component.html.leex b/lib/shift73k_web/live/shift_template_live/form_component.html.leex
deleted file mode 100644
index d6d10a87..00000000
--- a/lib/shift73k_web/live/shift_template_live/form_component.html.leex
+++ /dev/null
@@ -1,116 +0,0 @@
-<%= f = form_for @changeset, "#",
- id: "shift_template-form",
- phx_target: @myself,
- phx_change: "validate",
- phx_submit: "save" %>
-
-
-
- <%= label f, :subject, "Subject/Title", class: "form-label" %>
-
- <%= icon_div @socket, "bi-tag", [class: "icon is-left text-muted fs-5"] %>
- <%= text_input f, :subject,
- value: input_value(f, :subject),
- class: input_class(f, :subject, "form-control"),
- autofocus: true,
- phx_debounce: 250,
- aria_describedby: error_ids(f, :subject)
- %>
- <%= error_tag f, :subject %>
-
-
-
-
-
- <%= label f, :time_start, "Start", class: "form-label" %>
- <%= time_input f, :time_start,
- precision: :minute,
- value: input_value(f, :time_start),
- class: input_class(f, :time_start, "form-control"),
- aria_describedby: error_ids(f, :time_start)
- %>
-
-
-
- <%= label f, :time_end, "End", class: "form-label" %>
- <%= time_input f, :time_end,
- precision: :minute,
- value: input_value(f, :time_end),
- class: input_class(f, :time_end, "form-control"),
- aria_describedby: error_ids(f, :time_end)
- %>
-
-
-
-
-
Shift length: <%= @shift_length %>
-
-
- <%= error_tag f, :time_start %>
-
-
- <%= error_tag f, :time_end %>
-
-
-
-
- <%= label f, :location, class: "form-label mt-3" %>
-
- <%= icon_div @socket, "bi-geo", [class: "icon is-left text-muted fs-5"] %>
- <%= text_input f, :location,
- value: input_value(f, :location),
- class: input_class(f, :location, "form-control"),
- phx_debounce: 250,
- aria_describedby: error_ids(f, :location)
- %>
- <%= error_tag f, :location %>
-
-
-
- <%= label f, :description, class: "form-label" %>
-
-
- <%= textarea f, :description,
- value: input_value(f, :description),
- class: input_class(f, :description, "form-control"),
- phx_debounce: 250,
- aria_describedby: error_ids(f, :description)
- %>
- <%= error_tag f, :description %>
-
-
-
- <%= label f, :time_zone, class: "form-label" %>
-
- <%= icon_div @socket, "bi-map", [class: "icon is-left text-muted fs-5"] %>
- <%= text_input f, :time_zone,
- value: input_value(f, :time_zone),
- class: input_class(f, :time_zone, "form-control"),
- phx_debounce: 250,
- list: "tz_list"
- %>
-
- <%= for tz_name <- Tzdata.zone_list() do %>
-
- <% end %>
-
-
Type to search & select from list of known <%= link "IANA tz database", to: "https://en.wikipedia.org/wiki/List_of_tz_database_time_zones", target: "_blank" %> time zones
- <%= error_tag f, :time_zone %>
-
-
-
-
-
-
-
-
diff --git a/lib/shift73k_web/live/shift_template_live/index.html.leex b/lib/shift73k_web/live/shift_template_live/index.html.heex
similarity index 70%
rename from lib/shift73k_web/live/shift_template_live/index.html.leex
rename to lib/shift73k_web/live/shift_template_live/index.html.heex
index bd4c1b1b..45faa445 100644
--- a/lib/shift73k_web/live/shift_template_live/index.html.leex
+++ b/lib/shift73k_web/live/shift_template_live/index.html.heex
@@ -20,12 +20,10 @@
@@ -53,7 +51,7 @@
- <%= icon_div @socket, "bi-hourglass", [class: "icon baseline text-muted"] %>
+
Hours:
@@ -70,7 +68,7 @@
- <%= icon_div @socket, "bi-geo", [class: "icon baseline text-muted"] %>
+
Location:
@@ -83,7 +81,7 @@
- <%= icon_div @socket, "bi-justify-left", [class: "icon baseline text-muted"] %>
+
Description:
@@ -99,24 +97,19 @@
<%= if Roles.can?(@current_user, template, :edit) do %>
<%= live_patch to: Routes.shift_template_index_path(@socket, :edit, template), class: "btn btn-primary btn-sm text-nowrap" do %>
- <%= icon_div @socket, "bi-pencil", [class: "icon baseline"] %>
- Edit
+ Edit
<% end %>
<% end %>
<%= if Roles.can?(@current_user, template, :clone) do %>
<%= live_patch to: Routes.shift_template_index_path(@socket, :clone, template), class: "btn btn-outline-primary btn-sm text-nowrap" do %>
- <%= icon_div @socket, "bi-clipboard-plus", [class: "icon baseline"] %>
- Clone
+ Clone
<% end %>
<% end %>
- <%#= button "" %>
-
<%= if Roles.can?(@current_user, template, :delete) do %>
-
- <%= icon_div @socket, "bi-trash", [class: "icon baseline"] %>
- Delete
+
+ Delete
<% end %>
diff --git a/lib/shift73k_web/templates/layout/navbar/_nouser_menu.html.heex b/lib/shift73k_web/templates/layout/navbar/_nouser_menu.html.heex
index 59203835..3157ab0c 100644
--- a/lib/shift73k_web/templates/layout/navbar/_nouser_menu.html.heex
+++ b/lib/shift73k_web/templates/layout/navbar/_nouser_menu.html.heex
@@ -1,10 +1,10 @@
-
-