summaryrefslogtreecommitdiff
path: root/tests/functional/test_foreach/test.tpl
blob: 1aec8b4fff021ad9335e5b343f606410df717077 (plain)
1
2
3
4
5
6
7
8
<ste:foreach array="foo" key="k" value="v" counter="i">
	$i: $k -> $v[a], $v[b]
</ste:foreach>
---
<ste:foreach array="bar" value="v">
	$v
	<ste:else>--empty--</ste:else>
</ste:foreach>