McDoPlus/templates/resa_service/_delete_form.html.twig
ExostFlash 755b6c2ccb add
2023-11-27 13:13:11 +01:00

4 lines
291 B
Twig

<form method="post" action="{{ path('app_resa_service_delete', {'id': resa.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ resa.id) }}">
<button class="btn">Delete</button>
</form>