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

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

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

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

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

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

{% endembed %}
