...

Text file src/github.com/noirbizarre/gonja/ext/django/testData/statements/cycle.tpl

Documentation: github.com/noirbizarre/gonja/ext/django/testData/statements

     1{% for item in simple.multiple_item_list %}
     2    '{% cycle "item1" simple.name simple.number %}'
     3{% endfor %}
     4{% for item in simple.multiple_item_list %}
     5    '{% cycle "item1" simple.name simple.number as cycleitem %}'
     6    May I present the cycle item again: '{{ cycleitem }}'
     7{% endfor %}
     8{% for item in simple.multiple_item_list %}
     9    '{% cycle "item1" simple.name simple.number as cycleitem silent %}'
    10    May I present the cycle item: '{{ cycleitem }}'
    11{% endfor %}
    12{% for item in simple.multiple_item_list %}
    13    '{% cycle "item1" simple.name simple.number as cycleitem silent %}'
    14    May I present the cycle item: '{{ cycleitem }}'
    15    {% include "../../../../testData/inheritance/cycle_include.tpl" %}
    16{% endfor %}
    17'{% cycle "item1" simple.name simple.number as cycleitem %}'
    18'{% cycle cycleitem %}'
    19'{% cycle "item1" simple.name simple.number as cycleitem silent %}'
    20'{{ cycleitem }}'
    21'{% cycle cycleitem %}'
    22'{{ cycleitem }}'

View as plain text