aboutsummaryrefslogtreecommitdiff
path: root/lib/waev_web/templates/exports
diff options
context:
space:
mode:
authorGuillermo Ramos2020-02-04 17:06:22 +0100
committerGuillermo Ramos2020-02-04 17:18:12 +0100
commitffc0bb5dab06874f2737a3def62835e45e0cd676 (patch)
treef20c2b34d3096a20909e501584d202fa7a223d42 /lib/waev_web/templates/exports
parent4c399821684fa38b0d52b03932d7856b569478ab (diff)
downloadwaev-ffc0bb5dab06874f2737a3def62835e45e0cd676.tar.gz
Parse exports
Diffstat (limited to 'lib/waev_web/templates/exports')
-rw-r--r--lib/waev_web/templates/exports/show.html.eex36
1 files changed, 11 insertions, 25 deletions
diff --git a/lib/waev_web/templates/exports/show.html.eex b/lib/waev_web/templates/exports/show.html.eex
index 4351a17..4f0e3f5 100644
--- a/lib/waev_web/templates/exports/show.html.eex
+++ b/lib/waev_web/templates/exports/show.html.eex
@@ -3,33 +3,19 @@ ID: <%= @id %>
<section class="phx-hero">
<section class="row">
<article class="column">
- <h2>Left</h2>
- <ul>
- <li>
- <a href="#">Link 1</a>
- </li>
- <li>
- Text 2
- </li>
- <li>
- Text 3
- </li>
- </ul>
+ <h2><%= @export.left %></h2>
</article>
<article class="column">
- <h2>Right</h2>
- <ul>
- <li>
- <a href="#">Link 1</a>
- </li>
- <li>
- Text 2
- </li>
- <li>
- Text 3
- </li>
- </ul>
+ <h2><%= @export.right %></h2>
</article>
</section>
+ <%= for message <- @export.messages do %>
+ <section class="row">
+ <article class="column">
+ <%= message.text %>
+ </article>
+ <article class="column">
+ </article>
+ </section>
+ <% end %>
</section>
-