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

6 lines
176 B
Elixir

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