From 52b52c7b09a51af60a847d8956824f0dcae8c99b Mon Sep 17 00:00:00 2001 From: Guillermo Ramos Date: Tue, 4 Feb 2020 18:11:46 +0100 Subject: And closer --- lib/waev_web/templates/exports/show.html.eex | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) (limited to 'lib/waev_web/templates/exports') diff --git a/lib/waev_web/templates/exports/show.html.eex b/lib/waev_web/templates/exports/show.html.eex index b8cb69c..2d72e2e 100644 --- a/lib/waev_web/templates/exports/show.html.eex +++ b/lib/waev_web/templates/exports/show.html.eex @@ -1,20 +1,33 @@ ID: <%= @id %> -
+
- <%= @export.left %> + <%= @export.left.name %>
- <%= @export.right %> + <%= @export.right.name %>
<%= for message <- @export.messages do %>
-
+ <%= case message.side do %> + <% :left -> %> +