{% trans_default_domain 'admin' %}
{% set configuration = website().configuration %}
{% set defaultLocale = configuration.locale %}
{% set allLocales = configuration.allLocales %}
{% if configFieldsI18ns is defined and configFieldsI18ns %}
{{ "Configuration des contenus"|trans }}
{% if allLocales|length > 1 %}
{% endif %}
{% if allLocales|length > 1 %}
{% for i18n in i18ns %}
{% set locale = i18n.vars.value.locale %}
{% endfor %}
{% endif %}
{% if allLocales|length > 1 %}
{% endif %}
{% set isConfigI18ns = i18ns.vars['attr']['data-config'] is defined and i18ns.vars['attr']['data-config'] %}
{% for i18n in i18ns %}
{% set locale = i18n.vars.value.locale %}
{% if allLocales|length > 1 %}
{% endif %}
{% for field in i18n.children %}
{% if field.vars.name not in configFields and isConfigI18ns %}
{{ form_row(i18n[field.vars.name]) }}
{% endif %}
{% endfor %}
{% for field in i18n.children %}
{% if field.vars.name in configFields %}
{% if allLocales|length == 1 and locale != configuration.locale %}
{% endif %}
{{ form_row(i18n[field.vars.name]) }}
{% if allLocales|length == 1 and locale != configuration.locale %}