{% embed "@LcShop/backend/default/block/embed_modal.twig" %}
    {% trans_default_domain 'lcshop' %}

    {% block id %}modal-order-delivery-address{% endblock %}
    {% block title %}{{ "group.OrderShop.deliveryAddress"|trans }}{% endblock %}

    {% block form_start %}
        {{ form_start(form_order_delivery_address, {'attr': { 'id' : 'orderDeliveryAddressForm'}}) }}) }}
        {% form_theme form_order_delivery_address '@LcShop/backend/form/custom_bootstrap_4.html.twig' %}
    {% endblock %}

    {% block content %}
        <div class="col">
            {{ form_row(form_order_delivery_address.deliveryPointSale) }}
        </div>
    {% endblock %}

    {% block footer %}
        {{ parent() }}
        {{ form_row(form_order_delivery_address.save, {"attr": {'class' : 'btn btn-primary', '@click' : 'updateOrderDeliveryAddress'}}) }}
    {% endblock %}

    {% block form_end %}
        {{ form_end(form_order_delivery_address) }}
    {% endblock %}

{% endembed %}

{% trans_default_domain 'lcshop' %}
