bagaimana cara untuk ranting loop
{% for i in 0..10 %}
* {{ i }}
{% endfor %}
Schema
{% for i in 0..10 %}
* {{ i }}
{% endfor %}
<ul>
{% for key, user in users %}
<li>{{ key }}: {{ user.username|e }}</li>
{% endfor %}
</ul>
{% for user in users %}
{{ loop.index }} - {{ user.username }}
{% endfor %}
{% for i in 0..10 %}
* {{ i }}
{% endfor %}