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

6 lines
210 B
Elixir
Raw Normal View History

2020-07-30 00:49:51 +00:00
<h1>New Page</h1>
2020-08-02 23:40:45 +00:00
<%= render "form.html", assigns |> Map.put(:action, Routes.page_path(@conn, :create)) |> Map.put(:initial_file, true) %>
2020-07-30 00:49:51 +00:00
<span><%= link "Back", to: Routes.page_path(@conn, :index) %></span>