diff options
author | Guillermo Ramos | 2020-02-04 17:06:22 +0100 |
---|---|---|
committer | Guillermo Ramos | 2020-02-04 17:18:12 +0100 |
commit | ffc0bb5dab06874f2737a3def62835e45e0cd676 (patch) | |
tree | f20c2b34d3096a20909e501584d202fa7a223d42 /lib/waev_web/templates | |
parent | 4c399821684fa38b0d52b03932d7856b569478ab (diff) | |
download | waev-ffc0bb5dab06874f2737a3def62835e45e0cd676.tar.gz |
Parse exports
Diffstat (limited to 'lib/waev_web/templates')
-rw-r--r-- | lib/waev_web/templates/exports/show.html.eex | 36 |
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> - |