-
- {% block form %}
- {% endblock %}
-
+
+
+ {% block form %}{% endblock %}
{% endblock %}
diff --git a/src/bundle/Resources/views/themes/admin/content_type/content_type_group/create.html.twig b/src/bundle/Resources/views/themes/admin/content_type/content_type_group/create.html.twig
index cc3c573261..228a52bdf6 100644
--- a/src/bundle/Resources/views/themes/admin/content_type/content_type_group/create.html.twig
+++ b/src/bundle/Resources/views/themes/admin/content_type/content_type_group/create.html.twig
@@ -4,37 +4,26 @@
{% trans_default_domain 'content_type' %}
-{% block breadcrumbs_admin %}
- {% include '@ibexadesign/ui/breadcrumbs.html.twig' with { items: [
- { value: 'breadcrumb.admin'|trans(domain='messages')|desc('Admin') },
- { url: path('ezplatform.content_type_group.list'), value: 'content_type_group.breadcrumb.list'|trans|desc('Content Types') },
- { value: 'content_type_group.breadcrumb.add'|trans|desc('Creating a new Content Type group') }
- ]} %}
-{% endblock %}
-
-{% block context_menu_admin %}
+{% block header_admin %}
{% set content_type_group_create_sidebar_right = knp_menu_get('ezplatform_admin_ui.menu.content_type_group_create.sidebar_right') %}
- {{ knp_menu_render(content_type_group_create_sidebar_right, {'template': '@ibexadesign/ui/menu/context_menu.html.twig'}) }}
-{% endblock %}
-{% block header_admin %}
- {% include '@ibexadesign/ui/page_title.html.twig' with {
+ {% include '@ibexadesign/ui/edit_header.html.twig' with {
+ action_name: 'content_type_group.creating'|trans|desc('Creating'),
+ icon_name: 'file',
title: 'content_type_group.view.add.title'|trans|desc('Creating a new Content Type group'),
+ context_actions: knp_menu_render(content_type_group_create_sidebar_right, {'template': '@ibexadesign/ui/menu/context_menu.html.twig'})
} %}
{% endblock %}
{% block form %}
{{ form_start(form) }}
-
-
-
-
- {{ form_row(form.identifier, {'attr': {'autofocus': 'autofocus'}}) }}
+
+
+
+ {{ form_row(form.identifier, {'attr': {'autofocus': 'autofocus'}}) }}
+
-
-
-
- {{ form_widget(form.create, {'attr': {'hidden': 'hidden'}}) }}
-
+
+ {{ form_widget(form.create, {'attr': {'hidden': 'hidden'}}) }}
{{ form_end(form) }}
{% endblock %}
diff --git a/src/bundle/Resources/views/themes/admin/content_type/content_type_group/edit.html.twig b/src/bundle/Resources/views/themes/admin/content_type/content_type_group/edit.html.twig
index 2acbb11ead..334b26b76e 100644
--- a/src/bundle/Resources/views/themes/admin/content_type/content_type_group/edit.html.twig
+++ b/src/bundle/Resources/views/themes/admin/content_type/content_type_group/edit.html.twig
@@ -4,42 +4,27 @@
{% trans_default_domain 'content_type' %}
-{% block breadcrumbs_admin %}
- {% include '@ibexadesign/ui/breadcrumbs.html.twig' with { items: [
- { value: 'breadcrumb.admin'|trans(domain='messages')|desc('Admin') },
- { url: path('ezplatform.content_type_group.list'), value: 'content_type_group.breadcrumb.list'|trans|desc('Content Types') },
- { value: 'content_type_group.breadcrumb.edit'|trans({ '%identifier%': content_type_group.identifier })|desc('Editing Content Type group \'%identifier%\'') }
- ]} %}
-{% endblock %}
-
-{% block context_menu_admin %}
+{% block header_admin %}
{% set content_type_group_edit_sidebar_right = knp_menu_get('ezplatform_admin_ui.menu.content_type_group_edit.sidebar_right', [], {'save_id': form.update.vars.id}) %}
- {{ knp_menu_render(content_type_group_edit_sidebar_right, {'template': '@ibexadesign/ui/menu/context_menu.html.twig'}) }}
-{% endblock %}
-{% block header_admin %}
- {% include '@ibexadesign/ui/page_title.html.twig' with {
+ {% include '@ibexadesign/ui/edit_header.html.twig' with {
+ action_name: 'editing'|trans|desc('Editing'),
+ icon_name: 'file',
title: 'content_type_group.view.edit.title'|trans({'%identifier%': content_type_group.identifier})|desc('Editing Content Type group \'%identifier%\''),
+ show_autosave_status: false,
+ context_actions: knp_menu_render(content_type_group_edit_sidebar_right, {'template': '@ibexadesign/ui/menu/context_menu.html.twig'})
} %}
{% endblock %}
{% block form %}
{{ form_start(form) }}
-
-
-
-
- {{ form_row(form.identifier) }}
+
+
+
+ {{ form_row(form.identifier) }}
+
-
-
-
- {{ form_widget(form.update, {'attr': {'hidden': 'hidden'}}) }}
-
+
+ {{ form_widget(form.update, {'attr': {'hidden': 'hidden'}}) }}
{{ form_end(form) }}
{% endblock %}
-
-{% block right_sidebar %}
- {% set content_type_group_edit_sidebar_right = knp_menu_get('ezplatform_admin_ui.menu.content_type_group_edit.sidebar_right', [], {'save_id': form.update.vars.id}) %}
- {{ knp_menu_render(content_type_group_edit_sidebar_right, {'template': '@ibexadesign/ui/menu/context_menu.html.twig'}) }}
-{% endblock %}
diff --git a/src/bundle/Resources/views/themes/admin/ui/on_the_fly/edit_on_the_fly.html.twig b/src/bundle/Resources/views/themes/admin/ui/on_the_fly/edit_on_the_fly.html.twig
index cecf1b7bff..a77d2f4162 100644
--- a/src/bundle/Resources/views/themes/admin/ui/on_the_fly/edit_on_the_fly.html.twig
+++ b/src/bundle/Resources/views/themes/admin/ui/on_the_fly/edit_on_the_fly.html.twig
@@ -17,7 +17,7 @@
icon_name: 'content-type',
show_autosave_status: true,
description: content_type.description,
- subtitle: 'editing_details'|trans({ '%location_name%': parent_location.contentInfo.name })|desc('under %location_name%'),
+ subtitle: 'editing_details'|trans({ '%location_name%': parent_location.contentInfo.name, '%language%': language.name })|desc('under %location_name% in %language%'),
} %}
{% endblock %}