Change: Printing in Templates

created on Sept. 5, 2012, 8:31 p.m. by Hevok & updated on Oct. 13, 2012, 12:12 a.m. by Hevok

Whether variables get correctly passed to a template can be checked with printing: ::

{% if item %}
    {{ item }}
{% else %}
    Item was not passed #Debug
{% endif %}

Categories:


See entry | Admin

Comment on This Data Unit