forked from lubiana/futtern
add orm and tests
This commit is contained in:
parent
a32bf4ce7d
commit
a541338909
23 changed files with 1666 additions and 23 deletions
4
templates/food_vendor/_delete_form.html.twig
Normal file
4
templates/food_vendor/_delete_form.html.twig
Normal file
|
@ -0,0 +1,4 @@
|
|||
<form method="post" action="{{ path('app_food_vendor_delete', {'id': food_vendor.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ food_vendor.id) }}">
|
||||
<button class="btn">Delete</button>
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue