40 lines
1.2 KiB
Twig
40 lines
1.2 KiB
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}StatutCommandes index{% endblock %}
|
|
|
|
{% block stylesheets %}
|
|
<link rel="stylesheet" href="{{ asset('css/ControllerVues/list.css') }}"> <!-- Ajout du fichier CSS -->
|
|
|
|
{% endblock %}
|
|
{% block body %}
|
|
<h1>StatutCommandes index</h1>
|
|
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>Id</th>
|
|
<th>Libelle</th>
|
|
<th>actions</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for statut_commande in statut_commandes %}
|
|
<tr>
|
|
<td>{{ statut_commande.id }}</td>
|
|
<td>{{ statut_commande.Libelle }}</td>
|
|
<td>
|
|
<a href="{{ path('app_statut_commandes_show', {'id': statut_commande.id}) }}">show</a>
|
|
<a href="{{ path('app_statut_commandes_edit', {'id': statut_commande.id}) }}">edit</a>
|
|
</td>
|
|
</tr>
|
|
{% else %}
|
|
<tr>
|
|
<td colspan="3">no records found</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
<a href="{{ path('app_statut_commandes_new') }}">Create new</a>
|
|
{% endblock %}
|