{% if element is not defined %}{% set element = null %}{% endif %} {% if namespace is not defined %}{% set namespace = 'fields' %}{% endif %} {% namespace namespace %} {% for field in fields %} {% set translatable = field.getIsTranslatable() %} {% if translatable %} {% switch field.translationMethod %} {% case 'site' %} {% set translationDescription = 'This field is translated for each site.'|t('app') %} {% case 'siteGroup' %} {% set translationDescription = 'This field is translated for each site group.'|t('app') %} {% case 'language' %} {% set translationDescription = 'This field is translated for each language.'|t('app') %} {% endswitch %} {% endif %} {{ field.name | t('site') }} {% if field.instructions %} {{ field.instructions | t('site') | md | raw }} {% endif %} {% if translatable %} {% endif %} {% include "super-table/field" with { field: field, required: field.required, element: element, static: (static is defined ? static : null) } only %} {% if not staticField %} {% endif %} {% endfor %} {% endnamespace %}