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

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

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

    {% block content %}
        <div class="col">
            Est-vous sur de vouloir surppimer cette réduction
            {{ form_row(form_delete_order_reduction_cart.id, {'attr' : {"ref" : 'deleteOrderReductionCartId'}}) }}
        </div>
    {% endblock %}

    {% block footer %}
        {{ parent() }}
        {{ form_widget(form_delete_order_reduction_cart.delete, {"attr": {'class' : 'btn btn-primary', '@click': 'deleteOrderReductionCart'}}) }}
    {% endblock %}

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

{% endembed %}
