{% extends '_includes/html/base.html.twig' %} {% set page="Workspaces" %} {% block pageContent %} <div class="col-12"> <div class="card"> <div class="card-header"> <h2>Workspaces</h2> </div> <div class="card-body"> <table> <thead> <tr> <td>ID</td> <td>Nom</td> <td>Actif</td> </tr> </thead> <tbody> {% for workspace in workspaces %} <tr> <td>{{ workspace.id }}</td> <td>{{ workspace.name }}</td> <td>{{ workspace.active }}</td> </tr> {% endfor %} </tbody> </table> </div> </div> </div> {% endblock %}