Improving schedule markup.
This commit is contained in:
@@ -1,20 +1,9 @@
|
|||||||
<h1>Ohjelma</h1>
|
<h1>Ohjelma</h1>
|
||||||
|
|
||||||
<table>
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th>Nimi</th>
|
|
||||||
<th>Seloste</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<%= for performance <- @performances do %>
|
<%= for performance <- @performances do %>
|
||||||
<tr>
|
<article>
|
||||||
<td><%= performance.name %></td>
|
<h2><%= performance.name %></h2>
|
||||||
<td><%= performance.desc %></td>
|
<p><%= performance.desc %></p>
|
||||||
</tr>
|
</article>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<span><%= link "Hallinta", to: Routes.admin_performance_path(@conn, :admin) %></span>
|
<span><%= link "Hallinta", to: Routes.admin_performance_path(@conn, :admin) %></span>
|
||||||
|
|||||||
Reference in New Issue
Block a user