Commit 6937bb2b authored by Mat's avatar Mat
Browse files

hop

parent d0abd7ea
......@@ -29,21 +29,21 @@
</thead>
<tbody>
{% for legume in legumes %}
<tr id="row{{ legume.id }}">
<td scope="row">{{ legume.id }}</td>
<td>{{ legume.nom }}</td>
<td>{{ legume.description }}</td>
<td>{{ legume.unite }}</td>
<td>{{ legume.quantiteMin }}</td>
<td>{{ legume.quantiteMax }}</td>
<td>{{ legume.quantiteStep }}</td>
<td>{{ legume.prixUnitaire }} €/{{ legume.unite }}</td>
<td>
<a class="btn btn-primary btn-sm" role="button" href="{{ path('potage_legume_update', {'id': legume.id }) }}">Editer</a>
<a class="btn btn-danger btn-sm" role="button" href="#" id="btn-{{ legume.id }}">Effacer</a>
{% include '@Potage/Legume/delete-modal.html.twig' %}
</td>
</tr>
<tr id="row{{ legume.id }}">
<td scope="row">{{ legume.id }}</td>
<td>{{ legume.nom }}</td>
<td>{{ legume.description }}</td>
<td>{{ legume.unite }}</td>
<td>{{ legume.quantiteMin }}</td>
<td>{{ legume.quantiteMax }}</td>
<td>{{ legume.quantiteStep }}</td>
<td>{{ legume.prixUnitaire }} €/{{ legume.unite }}</td>
<td>
<a class="btn btn-primary btn-sm" role="button" href="{{ path('potage_legume_update', {'id': legume.id }) }}">Editer</a>
<a class="btn btn-danger btn-sm" role="button" href="#" id="btn-{{ legume.id }}">Effacer</a>
{% include '@Potage/Legume/delete-modal.html.twig' %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment