#42: allow updates to menuitems
All checks were successful
/ ls (pull_request) Successful in 37s
/ ls (push) Successful in 39s
/ ls (release) Successful in 25s

This commit is contained in:
lubiana 2024-07-29 13:04:57 +02:00
parent 0068654885
commit 674adcba60
No known key found for this signature in database
14 changed files with 258 additions and 7 deletions

View file

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