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

6 lines
185 B
Elixir

<h1>New Clothes</h1>
<%= render "form.html", Map.put(assigns, :action, Routes.clothes_path(@conn, :create)) %>
<span><%= link "Back", to: Routes.clothes_path(@conn, :index) %></span>