ajout des cotroleur avec template pour les entitys
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Categorie{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Categorie</h1>
|
||||
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<td>{{ categorie.id }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Nom</th>
|
||||
<td>{{ categorie.nom }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<a href="{{ path('app_categorie_index') }}">back to list</a>
|
||||
|
||||
<a href="{{ path('app_categorie_edit', {'id': categorie.id}) }}">edit</a>
|
||||
|
||||
{{ include('categorie/_delete_form.html.twig') }}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user