--TEST--
"for" tag can iterate over keys and values
--TEMPLATE--
-{% for key, item in items|items %}
+{% for key, item in items %}
* {{ key }}/{{ item }}
{% endfor %}
--DATA--
{% endfor %}
-{% for key, value in items|items %}
+{% for key, value in items %}
* {{ key }}/{{ value }}
{% endfor %}
* {{ item }}
{% endfor %}
-{% for key, value in items|items %}
+{% for key, value in items %}
* {{ key }}/{{ value }}
{% endfor %}
--TEST--
"for" tags can be nested
--TEMPLATE--
-{% for key, item in items|items %}
+{% for key, item in items %}
* {{ key }} ({{ loop.length }}):
{% for value in item %}
* {{ value }} ({{ loop.length }})