aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/templates/loop_expressions_twig.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/template/templates/loop_expressions_twig.html')
-rw-r--r--tests/template/templates/loop_expressions_twig.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/template/templates/loop_expressions_twig.html b/tests/template/templates/loop_expressions_twig.html
new file mode 100644
index 0000000000..61a36c51e4
--- /dev/null
+++ b/tests/template/templates/loop_expressions_twig.html
@@ -0,0 +1,11 @@
+{% for loop_inner in loop %}
+
+{% if loop_inner.S_ROW_NUM is divisible by 4 %}on{% else %}off{% endif %}
+
+{% endfor %}
+
+{% for loop_inner in loop %}
+
+{% if loop_inner.S_ROW_NUM is divisible by 3 %}on{% else %}off{% endif %}
+
+{% endfor %}