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

    {% block id %}modal-delete-order-payment{% endblock %}
    {% block title %}{{ "action.order.deleteOrderPayment"|trans }}{% endblock %}

    {% block form_start %}
        {{ form_start(form_delete_order_payment, {'attr': { 'id' : 'deleteOrderPaymentForm'}}) }}
        {% form_theme form_delete_order_payment '@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_payment.id, {'attr' : {"ref" : 'deleteOrderPaymentId'}}) }}
        </div>

    {% endblock %}

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

    {% endblock %}

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

{% endembed %}
