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