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

    {% block id %}modal-order-send-payment-link{% endblock %}
    {% block title %}{{ "action.order.sendPaymentLink"|trans }}{% endblock %}

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

    {% block content %}
        <div class="col">
            <p>Vous êtes sur le point d'envoyer le lien de paiement à l'utilisateur. Confirmez ?</p>
        </div>
    {% endblock %}

    {% block footer %}
        {{ parent() }}
        {{ form_widget(form_order_send_payment_link.send, {"attr": {'class' : 'btn btn-primary', '@click': 'sendPaymentLink'}}) }}
    {% endblock %}

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

{% endembed %}
