Answers for "get loop index in for loop twig"

0

twig loop variables

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

Browse Popular Code Answers by Language