From b10d4209ba55f775150cc883c32ed473d9a1699d Mon Sep 17 00:00:00 2001 From: codevictory Date: Sun, 25 Apr 2021 01:00:14 +0300 Subject: [PATCH] Improving schedule markup. --- .../templates/performance/index.html.eex | 19 ++++--------------- .../templates/performer/index.html.eex | 4 ++-- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/lib/runosaari_web/templates/performance/index.html.eex b/lib/runosaari_web/templates/performance/index.html.eex index fb37123..3d68164 100644 --- a/lib/runosaari_web/templates/performance/index.html.eex +++ b/lib/runosaari_web/templates/performance/index.html.eex @@ -1,20 +1,9 @@

Ohjelma

- - - - - - - - <%= for performance <- @performances do %> - - - - +
+

<%= performance.name %>

+

<%= performance.desc %>

+
<% end %> - -
NimiSeloste
<%= performance.name %><%= performance.desc %>
- <%= link "Hallinta", to: Routes.admin_performance_path(@conn, :admin) %> diff --git a/lib/runosaari_web/templates/performer/index.html.eex b/lib/runosaari_web/templates/performer/index.html.eex index ad04791..871bca6 100644 --- a/lib/runosaari_web/templates/performer/index.html.eex +++ b/lib/runosaari_web/templates/performer/index.html.eex @@ -3,8 +3,8 @@ <%= for performer <- @performers do %> <%= if performer.confirmed == true do %>
-

<%= performer.fname %> <%= performer.lname %>

-

<%= performer.desc %>

+

<%= performer.fname %> <%= performer.lname %>

+

<%= performer.desc %>

<% end %> <% end %>