<%= live_redirect to: Routes.container_show_path(Endpoint, :show, @container),
class: "link" do %>
<%= @container.name %>
<% end %>
<%= if @container.desc do %>
<%= gettext("Description:") %>
<%= @container.desc %>
<% end %>
<%= gettext("Type:") %>
<%= @container.type %>
<%= if @container.location do %>
<%= gettext("Location:") %>
<%= @container.location %>
<% end %>
<%= unless @container.ammo_groups |> Enum.empty?() do %>
<%= gettext("Packs:") %>
<%= @container |> Containers.get_container_ammo_group_count!() %>
<%= gettext("Rounds:") %>
<%= @container |> Containers.get_container_rounds!() %>
<% end %>
<%= unless @container.tags |> Enum.empty?() do %>
<%= for tag <- @container.tags do %>
<.simple_tag_card tag={tag} />
<% end %>
<% end %>
<%= if assigns |> Map.has_key?(:tag_actions) do %>
<%= render_slot(@tag_actions) %>
<% end %>