connexion base et création premier crud
This commit is contained in:
26
templates/projet/show.html.twig
Normal file
26
templates/projet/show.html.twig
Normal 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 %}
|
||||
Reference in New Issue
Block a user