update form

This commit is contained in:
bastien ollier
2024-06-07 15:54:49 +02:00
parent 541ec566d1
commit b7a750604a
20 changed files with 582 additions and 57 deletions

View File

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