pokemon-couture/lib/pokemon_couture_web/templates/clothes/show.html.eex

31 lines
473 B
Elixir
Raw Normal View History

<h1>Show Clothes</h1>
<ul>
<li>
<strong>Name:</strong>
<%= @clothes.name %>
</li>
2021-07-01 13:08:43 +02:00
<li>
<strong>Color:</strong>
<%= @clothes.color %>
</li>
<li>
<strong>Location:</strong>
<%= @clothes.location %>
</li>
<li>
<strong>Game:</strong>
<%= @clothes.game %>
</li>
</ul>
<span><%= link "Edit", to: Routes.clothes_path(@conn, :edit, @clothes) %></span>
<span><%= link "Back", to: Routes.clothes_path(@conn, :index) %></span>