Im migrating from the rails, and expected this to work, in my template?
<% if true do %> <li><p>hello</p></li> <% else %> <li><p>world</p></li> <% end %>
None of the conditions seem to be displayed. How to achieve this?
thanks
phoenix-framework
coderVishal
source share