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

    {% block id %}modal-add-order-reduction-cart{% endblock %}
    {% block title %}{{ "action.order.addReductionCart"|trans }}{% endblock %}

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

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

    {% block footer %}
        {{ parent() }}
        {{ form_widget(form_add_order_reduction_cart.add, {"attr": {'class' : 'btn btn-primary', '@click': 'addOrderReductionCart'}}) }}
    {% endblock %}

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

{% endembed %}
