Styles shared between pages.

This commit is contained in:
codevictory
2021-04-28 19:19:13 +03:00
parent a096ad07a2
commit 5faac423bf
6 changed files with 49 additions and 45 deletions

View File

@@ -1,12 +1,12 @@
<section class=text>
<h1 id="performers-start">Esiintyjät</h1>
<%= for performer <- @performers do %>
<%= if performer.confirmed == true do %>
<article>
<h2><%= performer.fname %> <%= performer.lname %></h2>
<p><%= performer.desc %></p>
</article>
<h2><%= performer.fname %> <%= performer.lname %></h2>
<p><%= performer.desc %></p>
<% end %>
<% end %>
<%= link "Hallinta", to: Routes.admin_performer_path(@conn, :admin) %>
</section>