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,30 @@
{% extends 'base.html.twig' %}
{% block title %}Membre{% endblock %}
{% block body %}
<h1>Membre</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ membre.id }}</td>
</tr>
<tr>
<th>Nom</th>
<td>{{ membre.nom }}</td>
</tr>
<tr>
<th>Password</th>
<td>{{ membre.password }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_membre_index') }}">back to list</a>
<a href="{{ path('app_membre_edit', {'id': membre.id}) }}">edit</a>
{{ include('membre/_delete_form.html.twig') }}
{% endblock %}