templates/death_certificate/_delete_form.html.twig line 1

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