{% trans_default_domain 'admin' %} {% set website = website() %} {% set configuration = website.configuration %} {% set defaultLocale = configuration.locale %} {% set allLocales = configuration.allLocales %} {% set allModules = allModules is defined and allModules ? allModules : website|modules %} {% set disableTitle = disableTitle is defined or form.children.i18ns.vars.attr.disableTitle is defined and form.children.i18ns.vars.attr.disableTitle %} {% if not disableTitle %}

{% if allLocales|length > 1 %}{{ "Descriptions"|trans }}{% else %}{{ "Description"|trans }}{% endif %}

{% endif %} {% if allLocales|length > 1 %}
{% endif %} {% set tabUniqId = uniqId() %} {% if allLocales|length > 1 %} {% endif %} {% if allLocales|length > 1 %}
{% endif %} {% for i18n in i18ns %} {% set locale = i18n.vars.value.locale %} {% if allLocales|length > 1 %}
{% endif %} {% for field in i18n.children %} {% if configFields is not defined or field.vars.name not in configsFieldsSet %} {% if allLocales|length == 1 and locale != configuration.locale %}
{% endif %} {% if field.vars.name == "video" and disableVideoTitle is not defined %}

{{ "Vidéo"|trans }}

{% endif %} {% if field.vars.attr.group is defined and "add-title" in field.vars.attr.group and "target" in field.vars.name %}

{{ "Lien"|trans }}

{% endif %} {% set entityToEdit = entity.action is defined and entity.action ? entity.action.entity|find(field.vars.value) : null %} {% set entityInterfaceName = entityToEdit.interface.name is defined and entityToEdit.interface.name ? entityToEdit.interface.name : null %} {% set isActionFilter = field.vars.name == 'actionFilter' and field.vars.value is defined and field.vars.value and routeExist('admin_' ~ entityToEdit.interface.name ~ '_edit') and entityToEdit and entityInterfaceName|moduleActive(allModules) %} {% if isActionFilter %}
{% endif %} {{ form_row(i18n[field.vars.name]) }} {% if isActionFilter %}
{% endif %} {% if allLocales|length == 1 and locale != configuration.locale %}
{% endif %} {% endif %} {% endfor %} {% if allLocales|length > 1 %}
{% endif %} {% endfor %} {% if allLocales|length > 1 %}
{% endif %} {% if allLocales|length > 1 %}
{% endif %}