8 lines
371 B
Twig
8 lines
371 B
Twig
<form method="post" action="{{ path('app_festival_delete', {'id': festival.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
|
|
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ festival.id) }}">
|
|
<button class="btn btn-danger delete-button">
|
|
<i class="fas fa-trash"></i>
|
|
Delete
|
|
</button>
|
|
</form>
|