templates/product/_delete_form.html.twig line 1

Open in your IDE?
  1. <form method="post" action="{{ path('app_product_delete', {'id': product.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
  2.     <input type="hidden" name="_token" value="{{ csrf_token('delete' ~ product.id) }}">
  3.     <button class="btn">Delete</button>
  4. </form>