Editable landing page.
This commit is contained in:
7
lib/runosaari_web/templates/index/new.html.eex
Normal file
7
lib/runosaari_web/templates/index/new.html.eex
Normal file
@@ -0,0 +1,7 @@
|
||||
<section class="main">
|
||||
<h1>Luo kappale</h1>
|
||||
|
||||
<%= render "form.html", Map.put(assigns, :action, Routes.admin_index_path(@conn, :create)) %>
|
||||
|
||||
<span><%= link "Takaisin", to: Routes.index_path(@conn, :index) %></span>
|
||||
</section>
|
||||
Reference in New Issue
Block a user