{% trans_default_domain 'lcshop' %}
{% import '@LcShop/backend/default/block/macros.html.twig' as macros %}

<div class="row">
    {{ macros.startCard(8, 'ReductionCart.info') }}
    <div class="col-12">
        {{ form_row(form.title) }}
    </div>
    <div class="col-12">
        {{ form_row(form.type) }}
    </div>
    <div class="col-6">
        {{ form_row(form.availableQuantity) }}
    </div>
    <div class="col-6">
        {{ form_row(form.availableQuantityPerUser) }}
    </div>
    <div class="col-12">
        {{ form_row(form.codes, {"attr":{'v-on:keyup' : 'updateCodes'}}) }}
    </div>


    {{ macros.endCard() }}

</div>
