PageRenderTime 14ms CodeModel.GetById 10ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/src/tests/erlydtl/docroot/if

https://code.google.com/p/zotonic/
#! | 4 lines | 4 code | 0 blank | 0 comment | 0 complexity | c26f30035e3f832e37108e2fb08dff54 MD5 | raw file
1One but not two: {% if var1 %} one {% else %} two {% endif %}
2Two but not one: {% if not var1 %} one {% else %} two {% endif %}
3One: {% if var1 %} one {% endif %}
4None: {% if var2 %} one {% endif %}