<div class="form__langSection active" data-tab-name="essential" data-lang="0">
{{ form_row(formProduct.reference) }}
{{ form_row(formProduct.ean13) }}
{{ form_row(formProduct.isbn) }}
{{ form_row(formProduct.mpn) }}
{{ form_row(formProduct.width) }}
{{ form_row(formProduct.height) }}
{{ form_row(formProduct.depth) }}
{{ form_row(formProduct.weight) }}
{{ form_row(formProduct.advantages) }}
{{ form_row(formProduct.brand) }}
{{ form_row(formProduct._token) }}
</div>
{% for lang in langs %}
{% set lang_id = lang.id %}
<div class="form__langSection" data-lang="{{ lang_id }}" data-tab-name="essential">
{{ form_row(formsProductLang[lang_id]['view']['name']) }}
{{ form_row(formsProductLang[lang_id]['view']['sub_title']) }}
{# {{ form_row(formsProductLang[lang_id]['view']['description']) }} #}
<div class="input_group">
<label for="product_lang_shortDescription_{{lang_id}}">{{'entity.product.field.shortDescription'|trans}}</label>
<div class="wysiwyg_editorjs_shortDescription" data-url-upload-image="{{ url('app_image_add') }}"></div>
<input type="hidden" name="product_lang[short_description]" class="wysiwyg_editorjs_shortDescription_receptacle"
{% if product is defined %}
{% for productLang in product.productLangs %}
{% if productLang.lang == lang %}
value="{{productLang.shortDescription}}"
{% endif %}
{% endfor %}
{% endif %}>
</div>
<div class="input_group">
<label for="product_lang_Description_{{lang_id}}">{{'entity.product.field.Description'|trans}}</label>
<div class="wysiwyg_editorjs_description" data-url-upload-image="{{ url('app_image_add') }}"></div>
<input type="hidden" name="product_lang[description]" class="wysiwyg_editorjs_description_receptacle"
{% if product is defined %}
{% for productLang in product.productLangs %}
{% if productLang.lang == lang %}
value="{{productLang.description}}"
{% endif %}
{% endfor %}
{% endif %}>
</div>
<div class="input_group">
<label for="product_lang_RegulationsHealthSafety_{{lang_id}}">{{'entity.product.field.RegulationsHealthSafety'|trans}}</label>
<div class="wysiwyg_editorjs_regulation" data-url-upload-image="{{ url('app_image_add') }}"></div>
<input type="hidden" name="product_lang[regulations]" class="wysiwyg_editorjs_regulation_receptacle"
{% if product is defined %}
{% for productLang in product.productLangs %}
{% if productLang.lang == lang %}
value="{{productLang.regulations}}"
{% endif %}
{% endfor %}
{% endif %}>
</div>
<div class="input_group">
<label for="product_lang_Advices_{{lang_id}}">{{'entity.product.field.Advices'|trans}}</label>
<div class="wysiwyg_editorjs_advices" data-url-upload-image="{{ url('app_image_add') }}"></div>
<input type="hidden" name="product_lang[advices]" class="wysiwyg_editorjs_advices_receptacle"
{% if product is defined %}
{% for productLang in product.productLangs %}
{% if productLang.lang == lang %}
value="{{productLang.advices}}"
{% endif %}
{% endfor %}
{% endif %}>
</div>
{{ form_row(formsProductLang[lang_id]['view']['meta_title']) }}
{{ form_row(formsProductLang[lang_id]['view']['meta_description']) }}
{{ form_row(formsProductLang[lang_id]['view']['_token']) }}
</div>
{% endfor %}