<h2>Edit comment</h2> <%= render "form.html", Map.put(assigns, :action, Routes.comment_path(@conn, :update, @comment)) %> <span><%= link "Back", to: Routes.comment_path(@conn, :index) %></span>