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

6 lines
176 B
Elixir
Raw Normal View History

2020-07-30 00:49:51 +00:00
<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>