Improving schedule markup.

This commit is contained in:
codevictory
2021-04-25 01:00:14 +03:00
parent b987f2c49e
commit b10d4209ba
2 changed files with 6 additions and 17 deletions

View File

@@ -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>