aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/templates/loop_vars_twig.html
blob: af6c63d8e35d778786336d1d9dac61ae8392c175 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{% for test_loop_inner in test_loop %}
{% if test_loop_inner.S_FIRST_ROW %}first{% endif %}
{{ test_loop_inner.S_ROW_NUM }} - a
{{ test_loop_inner.VARIABLE }} - b
{% if test_loop_inner.VARIABLE %}set{% endif %}
{% if test_loop_inner.S_LAST_ROW %}
last
{% endif %}
{% for inner_inner in test_loop_inner.inner %}
{{ inner_inner.S_ROW_NUM }} - c
{% if inner_inner.S_LAST_ROW and inner_inner.S_ROW_COUNT and inner_inner.S_NUM_ROWS %}last inner{% endif %}
{% endfor %}
{% endfor %}