Answers for "twig how to loop through array 0 and array 1"

1

how to for loop twig

{% for i in 0..10 %}
    * {{ i }}
{% endfor %}
Posted by: Guest on April-29-2020
0

twig loop variables

{% for user in users %}
    {{ loop.index }} - {{ user.username }}
{% endfor %}
Posted by: Guest on May-01-2020

Code answers related to "twig how to loop through array 0 and array 1"

Browse Popular Code Answers by Language