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

    {% block id %}modal-user-address{% endblock %}
    {% block title %}{{ "action.user.address"|trans }}{% endblock %}
    {% block size %}{% endblock %}

    {% block form_start %}
        {{ form_start(form, {'attr': {'class': 'row', 'id' : 'userAddressForm'}}) }}
        {% form_theme form '@LcShop/backend/form/custom_bootstrap_4.html.twig' %}

    {% endblock %}

    {% block content %}
        {% include '@LcShop/backend/default/block/form_address.html.twig' %}
    {% endblock %}

    {% block footer %}
        {{ parent() }}
        <button type="button" class="btn btn-primary">{{ "action.save"|trans }}</button>
    {% endblock %}

    {% block form_end %}

        {{ form_end(form) }}
    {% endblock %}

{% endembed %}
