class Crinja::Tag::For
- Crinja::Tag::For
- Crinja::Tag
- Reference
- Object
Overview
Loop over each item in a sequence. For example, to display a list of users
provided in a variable called users
:
{% for user in users %}
{{ user }}
{% endfor %}
See Jinja2 Template Documentation for details.
Defined in:
lib/tag/for.crConstant Summary
-
LOOP_VARIABLE =
"loop"