Editable landing page.

This commit is contained in:
codevictory
2021-05-26 21:47:50 +03:00
parent 8befa3058c
commit f1e44e87d9
20 changed files with 484 additions and 68 deletions

View File

@@ -0,0 +1,20 @@
<section class="main">
<h1>Kappaleen tiedot</h1>
<ul>
<li>
<strong>Sisältö:</strong>
<%= @index.content %>
</li>
<li>
<strong>Prioriteetti:</strong>
<%= @index.seqnum %>
</li>
</ul>
<span><%= link "Muokkaa", to: Routes.admin_index_path(@conn, :edit, @index) %></span>
<span><%= link "Takaisin", to: Routes.index_path(@conn, :index) %></span>
</section>