<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);"><input type="hidden" name="_method" value="DELETE"><input type="hidden" name="_token" value="{{ csrf_token('delete' ~ death_certificate.id) }}"><button class="btn">{% trans %}Delete{% endtrans %}</button></form>