templates/routes/_delete_form.html.twig line 1

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