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

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

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

    {% block content %}
        <div class="col">
            {{ form_row(form_add_reduction_credit.title) }}
            {{ form_row(form_add_reduction_credit.value) }}
            {{ form_row(form_add_reduction_credit.behaviorTaxRate) }}
        </div>
    {% endblock %}

    {% block footer %}
        {{ parent() }}
        <button type="button" class="btn btn-primary"  @click="addOrderReductionCredit">{{ 'action.add'|trans }}</button>
    {% endblock %}

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

{% endembed %}
