HegreLand/templates/representation/_delete_form.html.twig
ASTIER Yann ebc0a27382 Ongoing - RepresentationController.php
Ongoing - AffectationController.php
2024-12-06 07:57:39 +01:00

5 lines
331 B
Twig

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