{% embed '@AdminLTE/Widgets/box-widget.html.twig' with {'boxtype': 'danger'} %} {% block box_before %} {{ form_start(form) }} {% endblock %} {% block box_title %} {{ title|default('confirm.delete'|trans) }} {% endblock %} {% block box_body %} {% block form_body %} {% if used is same as (false) %} {{ 'delete.not_in_use'|trans }} {% else %}

{{ message }}

{{ form_widget(form) }} {% endif %} {% endblock %} {% endblock %} {% block box_footer %} {% if back %} {{ 'action.back'|trans }} {% endif %} {% endblock %} {% block box_after %} {{ form_end(form) }} {% endblock %} {% endembed %}