I'm looking for a way to get some id like :
first_1 / first_2 / etc etc
But currently i'm doing wrong
{% set nb = 0 %} {% for resultat in resultats %} {% if resultat.first == 1 %} {% set nb=nb+1 %} <tr id="first_"{{ nb }}> This is giving id="first_" and an other param "1"=""
Thanks for your help