diff --git a/lib/mv_web/live/custom_field_live/form.ex b/lib/mv_web/live/custom_field_live/form.ex
index 176edc8..ab8f104 100644
--- a/lib/mv_web/live/custom_field_live/form.ex
+++ b/lib/mv_web/live/custom_field_live/form.ex
@@ -19,9 +19,6 @@ defmodule MvWeb.CustomFieldLive.Form do
- immutable - If true, values cannot be changed after creation (default: false)
- required - If true, all members must have this custom field (default: false)
- **Read-only (Edit mode only):**
- - slug - Auto-generated URL-friendly identifier (immutable)
-
## Value Type Selection
- `:string` - Text data (unlimited length)
- `:integer` - Numeric data
@@ -52,19 +49,6 @@ defmodule MvWeb.CustomFieldLive.Form do
<.form for={@form} id="custom_field-form" phx-change="validate" phx-submit="save">
<.input field={@form[:name]} type="text" label={gettext("Name")} />
- <%!-- Show slug in edit mode (read-only) --%>
-
-
-
- {@custom_field.slug}
-
-
- {gettext("Auto-generated identifier (immutable)")}
-
-
-
<.input
field={@form[:value_type]}
type="select"
diff --git a/lib/mv_web/live/custom_field_live/index.ex b/lib/mv_web/live/custom_field_live/index.ex
index bbd8603..65a3ab3 100644
--- a/lib/mv_web/live/custom_field_live/index.ex
+++ b/lib/mv_web/live/custom_field_live/index.ex
@@ -11,7 +11,6 @@ defmodule MvWeb.CustomFieldLive.Index do
- Delete custom fields (if no custom field values use them)
## Displayed Information
- - Slug: URL-friendly identifier (auto-generated from name)
- Name: Unique identifier for the custom field
- Value type: Data type constraint (string, integer, boolean, date, email)
- Description: Human-readable explanation
@@ -44,8 +43,6 @@ defmodule MvWeb.CustomFieldLive.Index do
rows={@streams.custom_fields}
row_click={fn {_id, custom_field} -> JS.navigate(~p"/custom_fields/#{custom_field}") end}
>
- <:col :let={{_id, custom_field}} label="Slug">{custom_field.slug}
-
<:col :let={{_id, custom_field}} label="Name">{custom_field.name}
<:col :let={{_id, custom_field}} label="Description">{custom_field.description}
diff --git a/lib/mv_web/live/custom_field_live/show.ex b/lib/mv_web/live/custom_field_live/show.ex
index 2b2ba65..239b844 100644
--- a/lib/mv_web/live/custom_field_live/show.ex
+++ b/lib/mv_web/live/custom_field_live/show.ex
@@ -50,7 +50,12 @@ defmodule MvWeb.CustomFieldLive.Show do
<.list>
<:item title="Id">{@custom_field.id}
- <:item title="Slug">{@custom_field.slug}
+ <:item title="Slug">
+ {@custom_field.slug}
+
+ {gettext("Auto-generated identifier (immutable)")}
+
+
<:item title="Name">{@custom_field.name}