diff --git a/src/bundle/Resources/views/themes/admin/matrix_fieldtype/content_edit_form_fields.html.twig b/src/bundle/Resources/views/themes/admin/matrix_fieldtype/content_edit_form_fields.html.twig index c7c32bf..7466f8c 100644 --- a/src/bundle/Resources/views/themes/admin/matrix_fieldtype/content_edit_form_fields.html.twig +++ b/src/bundle/Resources/views/themes/admin/matrix_fieldtype/content_edit_form_fields.html.twig @@ -19,19 +19,21 @@ - - - - - {% for column in columns %} - - {% endfor %} - - - - {{ form_widget(form) }} - -
{{ column['name'] }}
+
+ + + + + {% for column in columns %} + + {% endfor %} + + + + {{ form_widget(form) }} + +
{{ column['name'] }}
+
{% endblock %} {% block ezplatform_fieldtype_ezmatrix_entry_row %} diff --git a/src/bundle/Resources/views/themes/admin/matrix_fieldtype/content_fields.html.twig b/src/bundle/Resources/views/themes/admin/matrix_fieldtype/content_fields.html.twig index 2201d41..ee12396 100644 --- a/src/bundle/Resources/views/themes/admin/matrix_fieldtype/content_fields.html.twig +++ b/src/bundle/Resources/views/themes/admin/matrix_fieldtype/content_fields.html.twig @@ -2,22 +2,24 @@ {% set columnsSettings = fieldSettings['columns'] %} {% set fieldData = field.value.rows %} - - +
+
+ + + {% for column in columnsSettings %} + + {% endfor %} + + + + {% for data in fieldData %} {% for column in columnsSettings %} - + {% endfor %} - - - {% for data in fieldData %} - - {% for column in columnsSettings %} - {% endfor %} - - {% endfor %} - -
{{ column['name'] }}
{{ column['name'] }}{{ data.cells[column['identifier']]|default }}
{{ data.cells[column['identifier']]|default }}
+ + + {% endblock %}