blob: 4e22cb473f9ccce9be856b1197ca709440a0365c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--TEST--
"for" tag can iterate over keys
--TEMPLATE--
{% for key in items|keys %}
* {{ key }}
{% endfor %}
--DATA--
return array('items' => array('a', 'b'))
--EXPECT--
* 0
* 1
|