{% for i, seanceExercice in seance.exercices %} {% if seanceExercice.idExercice is not null %} {# EXERCICE APPLIQUE #}