templates/emprunts/_delete_form.html.twig line 1

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