connexion base et création premier crud

This commit is contained in:
Logshiro
2025-10-16 17:01:43 +02:00
parent ea9a187326
commit 2e4dce40d4
38 changed files with 653 additions and 278 deletions

View File

@@ -0,0 +1,26 @@
{% extends 'base.html.twig' %}
{% block title %}Projet{% endblock %}
{% block body %}
<h1>Projet</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ projet.id }}</td>
</tr>
<tr>
<th>Nom</th>
<td>{{ projet.nom }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_projet_index') }}">back to list</a>
<a href="{{ path('app_projet_edit', {'id': projet.id}) }}">edit</a>
{{ include('projet/_delete_form.html.twig') }}
{% endblock %}