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

{% set formValues = form.reductionCatalog.vars.value %}

{{ macros.reductionCatalogFormValues(formValues, true) }}

<div class="row">
    {{ macros.startCard(12, 'ProductFamily.initReduction', 'light') }}
    <div class="col-12">
        {{ form_row(form.activeReductionCatalog, {'attr': {'v-model' :  'reductionActive'}}) }}
    </div>
    {{ macros.endCard() }}

    <div class="col-12">

        <div class="row" v-show="reductionActive == true">
            {{ macros.reductionCatalogForm(form.reductionCatalog) }}
        </div>
    </div>
</div>
