Editable landing page.
This commit is contained in:
20
lib/runosaari_web/templates/index/show.html.eex
Normal file
20
lib/runosaari_web/templates/index/show.html.eex
Normal 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>
|
||||
Reference in New Issue
Block a user