{% extends '_layouts/cp' %} {% set title = "Spoon"|t('spoon') %} {% set content %}

{{ "Here you can set up default block type groups and field layouts for all your Matrix fields."|t('spoon') }}

{% if matrixFields|length %} {% if superTableFields is defined %} {% endif %} {% for field in matrixFields %} {% if superTableFields is defined and 'superTableBlockType' in field.context %} {% set fieldData = superTableFields[field.context] %} {% else %} {{ field.name|t }} {% endif %} {% endfor %}
{{ 'Matrix Field'|t('spoon') }}
    {% if fieldData.child %}
  • {{ fieldData.kind|t('spoon') }}
    • {{ fieldData.child.kind|t('spoon') }}
      • {{ 'Matrix'|t('app') }}
  • {% else %}
  • {{ fieldData.kind|t }}
    • {{ 'Matrix'|t('app') }}
  • {% endif %}
{% else %}

{{ "No Matrix fields have been added yet."|t('spoon') }}

{% endif %} {% endset %}