wiki/lib/wiki_web/templates/page/edit.html.eex

6 lines
184 B
Elixir

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