{{ form_row(form.displayOnlyWhenLoggedIn) }}
-
-
-
-
-
{{ 'psc_shop_cms.Text'|trans }}
-
- {{ form_row(form.rawText) }}
-
-
-
-
- {{ form_row(form.text, {attr: {'class': 'form-control summernote'}}) }}
+ {{ form_row(form.editorMode) }}
@@ -183,7 +166,7 @@
{% for customGroup in customGroups %}
-
+
{{ customGroup.title }}
{% for customField in customFields %}
{% if customField.group == customGroup.id and customField.getTemplate %}
diff --git a/src/new/src/PSC/Shop/CmsBundle/Resources/views/backend/edit/edit.html.twig b/src/new/src/PSC/Shop/CmsBundle/Resources/views/backend/edit/edit.html.twig
index 27c41c323..24991a92a 100755
--- a/src/new/src/PSC/Shop/CmsBundle/Resources/views/backend/edit/edit.html.twig
+++ b/src/new/src/PSC/Shop/CmsBundle/Resources/views/backend/edit/edit.html.twig
@@ -33,12 +33,6 @@
{{ 'psc_shop_cms.Common'|trans }}
-
-
- {{ 'psc_shop_cms.Text'|trans }}
-
{% for customGroup in customGroups %}
-
+
- {{ customGroup.title }}
+ {{ customGroup.title|trans }}
{% endfor %}
@@ -103,23 +97,8 @@
{{ form_row(form.displayOnlyWhenLoggedIn) }}
-
-
-
-
-
{{ 'psc_shop_cms.Text'|trans }}
-
- {{ form_row(form.rawText) }}
-
-
-
-
- {% if cms.rawText %}
- {{ form_row(form.text) }}
- {% else %}
- {{ form_row(form.text, {attr: {'class': 'form-control summernote'}}) }}
- {% endif %}
+ {{ form_row(form.editorMode) }}
@@ -187,24 +166,32 @@
{% for customGroup in customGroups %}
-