FestinHegre/templates/details_commande/_delete_form.html.twig

5 lines
315 B
Twig
Raw Permalink Normal View History

<form method="post" action="{{ path('app_details_commande_delete', {'id': details_commande.id}) }}" onsubmit="return confirm('Es-tu sur de vouloir le supprimer ?');">
2024-11-21 15:11:11 +01:00
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ details_commande.id) }}">
<button class="btn">Supprimer</button>
2024-11-21 15:11:11 +01:00
</form>