diff --git a/lib/shift73k_web/live/modal_component.ex b/lib/shift73k_web/live/modal_component.ex
index b3f165e3..d5ac4afe 100644
--- a/lib/shift73k_web/live/modal_component.ex
+++ b/lib/shift73k_web/live/modal_component.ex
@@ -3,12 +3,12 @@ defmodule Shift73kWeb.ModalComponent do
@impl true
def render(assigns) do
- ~L"""
-
+
+ <%= form_for @changeset, "#", [
+ phx_target: @myself,
+ phx_change: "validate",
+ phx_submit: "save"
+ ], fn f -> %>
+
+
+
+ <%= label f, :email, class: "form-label" %>
+
+
+ <%= email_input f, :email,
+ value: input_value(f, :email),
+ class: input_class(f, :email, "form-control"),
+ placeholder: "e.g., babka@73k.us",
+ maxlength: User.max_email,
+ autofocus: true,
+ phx_debounce: "250",
+ aria_describedby: error_ids(f, :email)
+ %>
+ <%= error_tag f, :email %>
+
+
+ <%= label f, :password, class: "form-label" %>
+
+
+ <%= password_input f, :password,
+ value: input_value(f, :password),
+ class: input_class(f, :password, "form-control"),
+ maxlength: User.max_password,
+ aria_describedby: error_ids(f, :password)
+ %>
+ <%= error_tag f, :password %>
+
+
+ <%= if Roles.can?(@current_user, %User{}, :edit_role) do %>
+ <%= label f, :role, class: "form-label" %>
+
+
+ <%= select f, :role, Enum.map(User.roles(), fn {k, _v} -> {String.capitalize(Atom.to_string(k)), k} end), class: "form-select" %>
+
+ <%= role_description(input_value(f, :role)) %>
+
+
+ <% else %>
+ <%= hidden_input f, :role, value: input_value(f, :role) %>
+ <% end %>
+
+
+
+
+ <% end %>
+
+
\ No newline at end of file
diff --git a/lib/shift73k_web/live/user_management/form_component.html.leex b/lib/shift73k_web/live/user_management/form_component.html.leex
deleted file mode 100644
index 15f82296..00000000
--- a/lib/shift73k_web/live/user_management/form_component.html.leex
+++ /dev/null
@@ -1,62 +0,0 @@
-<%= form_for @changeset, "#", [
- phx_target: @myself,
- phx_change: "validate",
- phx_submit: "save"
- ], fn f -> %>
-
-
-
- <%= label f, :email, class: "form-label" %>
-
- <%= icon_div @socket, "bi-at", [class: "icon is-left text-muted fs-5"] %>
- <%= email_input f, :email,
- value: input_value(f, :email),
- class: input_class(f, :email, "form-control"),
- placeholder: "e.g., babka@73k.us",
- maxlength: User.max_email,
- autofocus: true,
- phx_debounce: "250",
- aria_describedby: error_ids(f, :email)
- %>
- <%= error_tag f, :email %>
-
-
- <%= label f, :password, class: "form-label" %>
-
- <%= icon_div @socket, "bi-key", [class: "icon is-left text-muted fs-5"] %>
- <%= password_input f, :password,
- value: input_value(f, :password),
- class: input_class(f, :password, "form-control"),
- maxlength: User.max_password,
- aria_describedby: error_ids(f, :password)
- %>
- <%= error_tag f, :password %>
-
-
- <%= if Roles.can?(@current_user, %User{}, :edit_role) do %>
- <%= label f, :role, class: "form-label" %>
-
- <%= icon_div @socket, "bi-shield", [class: "icon is-left text-muted fs-5"] %>
- <%= select f, :role, Enum.map(User.roles(), fn {k, _v} -> {String.capitalize(Atom.to_string(k)), k} end), class: "form-select" %>
-
- <%= role_description(input_value(f, :role)) %>
-
-
- <% else %>
- <%= hidden_input f, :role, value: input_value(f, :role) %>
- <% end %>
-
-
-
-
-<% end %>