{{ form_start(form) }}
{% import '@LcShop/backend/default/block/macros.html.twig' as macros %}

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

<div id="lc-supplier-edit">
    <div class="card card-light">
        <div class="lc-vue-js-container card-header p-0 border-bottom-0">
            <ul class="nav nav-tabs" id="nav-params">
                <li class="nav-item" v-for="section in sectionsArray">
                    <button type="button"
                            :class="'btn '+((currentSection == section.name) ? 'btn btn-primary' : 'btn ')"
                            @click="changeSection(section)">
                        ${ section.nameDisplay }
                        <span class="glyphicon glyphicon-triangle-bottom"></span>
                        <i class="fa fa-exclamation-circle invalid-form"></i>
                    </button>

                </li>
            </ul>
        </div>
    </div>
    <div class="form ">

        <div v-show="currentSection == 'general'" class="panel panel-default">
            {% include '@LcShop/backend/supplier/panel_general.html.twig' %}
        </div>
        <div v-show="currentSection == 'address'" class="panel panel-default">
            {% include '@LcShop/backend/supplier/panel_address.html.twig' %}
        </div>
        <div v-show="currentSection == 'seo'" class="panel panel-default">
            {% include '@LcShop/backend/supplier/panel_seo.html.twig' %}
        </div>

    </div>

</div>
{{ form_end(form) }}




