In EEx you don't simply omit the space in: ... do%>

Or it will bite you with:

** (SyntaxError) lib/your_app_web/templates/.../your_view.html.eex:<some-lines-below-do> unexpected token: end

Your <% end %> is ok, look at the .. do%>

(Learnt the hard way, posting for my future self in any case)

4 Likes

It has been fixed in master, thank you!

6 Likes

:flushed: Actually thank you Jose! Muito obrigado! I’m so in :purple_heart: with Elixir!

2 Likes