philomena/lib/philomena_web/templates/comment/new.html.eex

6 lines
185 B
Elixir
Raw Normal View History

2019-08-18 20:14:36 +02:00
<h1>New Comment</h1>
<%= render "form.html", Map.put(assigns, :action, Routes.comment_path(@conn, :create)) %>
<span><%= link "Back", to: Routes.comment_path(@conn, :index) %></span>