{% extends "admin/core/edit.html.twig" %} {% set websiteId = websiteId() %} {% set excludesFields = ['cols'] %} {% trans_default_domain 'admin' %} {% import 'core/src-macro.html.twig' as resources %} {% block stylesheets %} {{ parent() }} {{ resources.encore_absolute_link_tags('admin-table', 'admin') }} {% endblock %} {% block javascripts %} {{ parent() }} {{ resources.encore_entry_js_files('admin-table', 'admin', 'Table') }} {% endblock %} {% set outerCustomized %} {% set table = entity|table(entitylocale) %} {% include 'admin/page/table/actions.html.twig' %} {% for col in form.cols %} {% endfor %} {% if table.body is defined %} {% for rows in table.body %} {% for row in rows %} {% endfor %} {% endfor %} {% endif %}
{% if not loop.first %} {% else %} {% endif %} {% if not loop.last %} {% else %} {% endif %}
{% if col.i18ns is defined %} {% for i18n in col.i18ns %} {% set i18nLocale = i18n.vars.data.locale %}
{{ form_widget(i18n.titleForce) }}
{{ form_widget(i18n.title) }}
{% endfor %} {% endif %}
{% for col in form.cols %} {% for cell in col.cells %} {% if cell.vars.data.id == row.cell.id %} {% for i18n in cell.i18ns %} {% set i18nLocale = i18n.vars.data.locale %}
{{ form_widget(i18n.titleForce) }}
{{ form_widget(i18n.title) }}
{{ form_widget(i18n.introduction) }}
{{ form_widget(i18n.body) }}
{% endfor %} {% endif %} {% endfor %} {% endfor %}
{% if not loop.first %} {% else %} {% endif %} {% if not loop.last %} {% else %} {% endif %}
{% include 'admin/page/table/actions.html.twig' %} {% endset %}