mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-17 07:44:24 +00:00
6 lines
408 B
Twig
6 lines
408 B
Twig
<form method="post" action="{{ path('person_document_delete', {'id': document.id, 'person': person.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
|
|
<input type="hidden" name="_method" value="DELETE">
|
|
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ document.id) }}">
|
|
<button class="sc-button bt-delete">{{ 'Delete' | trans }}</button>
|
|
</form>
|