templates/client/_delete_form.html.twig line 1

Open in your IDE?
  1. <form method="post" action="{{ path('client_delete', {'id': client.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
  2.     <input type="hidden" name="_method" value="DELETE">
  3.     <input type="hidden" name="_token" value="{{ csrf_token('delete' ~ client.id) }}">
  4.     <button class="btn btn-danger" style="margin-bottom: 10px">Suppression</button>
  5. </form>