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