legendary-doc-site/apps/content/lib/content_web/templates/wp_comment/edit.html.eex

6 lines
196 B
Elixir
Raw Normal View History

<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>