diff --git a/lib/live_beats_web/live/live_helpers.ex b/lib/live_beats_web/live/live_helpers.ex index e382db2..9a5359c 100644 --- a/lib/live_beats_web/live/live_helpers.ex +++ b/lib/live_beats_web/live/live_helpers.ex @@ -451,15 +451,17 @@ defmodule LiveBeatsWeb.LiveHelpers do ~H""" -
+

<%= render_slot(@inner_block) %>

-
- <%= render_slot(@actions) %> -
+ <%= if Enum.count(@actions) > 0 do %> +
+ <%= render_slot(@actions) %> +
+ <% end %>
""" end diff --git a/lib/live_beats_web/live/settings_live.ex b/lib/live_beats_web/live/settings_live.ex index d18c529..c5736e1 100644 --- a/lib/live_beats_web/live/settings_live.ex +++ b/lib/live_beats_web/live/settings_live.ex @@ -9,7 +9,7 @@ defmodule LiveBeatsWeb.SettingsLive do Profile Settings -
+
<.form let={f} for={@changeset} phx-change="validate" phx-submit="save" class="space-y-8 divide-y divide-gray-200">