diff --git a/lib/cannery_web/live/container_live/show.html.heex b/lib/cannery_web/live/container_live/show.html.heex index e4a9046..55d6c5b 100644 --- a/lib/cannery_web/live/container_live/show.html.heex +++ b/lib/cannery_web/live/container_live/show.html.heex @@ -72,9 +72,11 @@
-

+

<%= if @container.ammo_groups |> Enum.empty?() do %> - <%= gettext("No ammo groups in this container") %> +

+ <%= gettext("No ammo groups in this container") %> +

<% else %>
<%= for ammo_group <- @container.ammo_groups do %> @@ -82,7 +84,7 @@ <% end %>
<% end %> -

+
<%= if @live_action in [:edit] do %>