connexion base et création premier crud

This commit is contained in:
Logshiro
2025-10-16 13:37:35 +02:00
parent 521d0a2d61
commit ea9a187326
38 changed files with 953 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
{# templates/membre/index.html.twig #}
<h1>Liste des Membres</h1>
<table border="1">
<thead>
<tr>
<th>ID</th>
<th>Nom</th>
<th>Droit</th>
</tr>
</thead>
<tbody>
{% for membre in membres %}
<tr>
<td>{{ membre.id }}</td>
<td>{{ membre.nom }}</td>
<td>{{ membre.droit ? membre.droit.nom : 'Aucun' }}</td>
</tr>
{% endfor %}
</tbody>
</table>