Listing Clothes
<%= for {shop, map_of_clothes_by_type} <- @clothes_map do %>
<%= shop %>
<%= for {type, map_of_clothes_by_name} <- map_of_clothes_by_type do %>
<%= type %>
<%= for {name, list_of_clothes} <- map_of_clothes_by_name do %>
<%= name %> |
Color |
Game |
|
<%= for clothes <- list_of_clothes do %>
<%= live_component PokemonCoutureWeb.Components.ClothesComponent, id: clothes.id, clothes: clothes, user: @user %>
<% end %>
<% end %>
<% end %>
<% end %>