{% trans_default_domain 'lcshop' %}

<div class="modal fade show" id="modal-reduction-credit">
    {{ form_start(form_order_reduction_credit, {'attr': { 'id' : 'orderReductionCreditForm'}}) }}) }}
    {% form_theme form_order_reduction_credit '@LcShop/backend/form/custom_bootstrap_4.html.twig' %}
    <div class="modal-dialog">

        <div class="modal-content">
            <div class="modal-header">
                <h4>{{ "form.group.OrderShop.orderReductionCredit"|trans }}</h4>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
            </div>
            <div class="modal-body">
                <div class="col">
                    {{ form_row(form_order_reduction_credit.reductionCredit) }}
                </div>

            </div>
            <div class="modal-footer justify-content-between">
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                {{ form_row(form_order_reduction_credit.saveOrderReductionCredit, {"attr": {'class' : 'btn btn-primary', '@click': 'addOrderReductionCredit'}}) }}
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    {{ form_end(form_order_reduction_credit) }}
</div>
