projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Yaffs site version 1.1
[yaffs-website]
/
vendor
/
twig
/
twig
/
test
/
Twig
/
Tests
/
Fixtures
/
tags
/
for
/
context.test
1
--TEST--
2
"for" tag keeps the context safe
3
--TEMPLATE--
4
{% for item in items %}
5
{% for item in items %}
6
* {{ item }}
7
{% endfor %}
8
* {{ item }}
9
{% endfor %}
10
--DATA--
11
return array('items' => array('a', 'b'))
12
--EXPECT--
13
* a
14
* b
15
* a
16
* a
17
* b
18
* b