<table> <thead> <tr> <td>Nom</td> <td class="text-center">Actif</td> </tr> </thead> <tbody> {% for project in projects %} <tr> <td>{{ project.name }}</td> <td class="text-center">{% if project.active %}<i class="icofont-checked color-green"><span class="d-none">Actif</span></i> {% endif %}</td> </tr> {% endfor %} </tbody> </table>