<div class="modal fade show" id="{% block id %}{% endblock %}">

    <div class="modal-dialog {% block size %}{% endblock %}">
        {% block form_start %}{% endblock %}
        <div class="modal-content">
            <div class="modal-header">
                <h5>{% block title %}{% endblock %}</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
            </div>
            <div class="modal-body">
                {% block content %}

                {% endblock %}
            </div>
            <div class="modal-footer justify-content-between">
                {% block footer %}
                    <button type="button" class="btn btn-default"
                            data-dismiss="modal">{{ 'action.cancel'|trans }}</button>
                {% endblock %}
            </div>
        </div>
        {% block form_end %}{% endblock %}
        <!-- /.modal-content -->
    </div>

</div>
