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

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

    {% block form_start %}
        {{ form_start(form_delete_order_reduction_credit, {'attr': { 'id' : 'deleteOrderReductionCreditForm'}}) }}
        {% form_theme form_delete_order_reduction_credit '@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_credit.id, {'attr' : {"ref" : 'deleteOrderReductionCreditId'}}) }}
        </div>
    {% endblock %}

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

    {% endblock %}

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

{% endembed %}
