<div class="modal modal-danger fade" tabindex="-1" role="dialog" id="deleteModal">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true"><i class="fa fa-times"></i></span>
                </button>
                <h4 class="modal-title"><i class="icon fa fa-warning"></i> Warning</h4>
            </div>
            <div class="modal-body">
                <p>Are you sure you would like to delete this {{ modal_entityName }}?</p>

                {% if modal_otherEntities is defined and modal_otherEntities is not null %}
                    <p>This entities will be deleted also: </p>
                    <ul>
                        {% for ent in modal_otherEntities %}
                            <li>{{ ent }}</li>
                        {% endfor %}
                    </ul>
                {% endif %}

            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-outline pull-left" data-dismiss="modal">Close</button>
                {{ form_start(delete_form) }}
                <input type="submit" value="Delete" class="btn btn-outline pull-right">
                {{ form_end(delete_form) }}
            </div>
        </div>
    </div>
</div>