FestinHegre/templates/clients/_delete_form.html.twig

5 lines
286 B
Twig
Raw Permalink Normal View History

<form method="post" action="{{ path('app_clients_delete', {'id': client.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' ~ client.id) }}">
<button class="btn">Supprimer</button>
2024-11-21 15:11:11 +01:00
</form>