improv
This commit is contained in:
parent
66c4c1fe4f
commit
2c2e34b71e
42 changed files with 910 additions and 939 deletions
4
templates/order/_delete_form.html.twig
Normal file
4
templates/order/_delete_form.html.twig
Normal file
|
@ -0,0 +1,4 @@
|
|||
<form method="post" action="{{ path('app_order_delete', {'id': order.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ order.id) }}">
|
||||
<button class="btn">Delete</button>
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue