From f4d5f3e5115fb73c10f37d42d751d6da3f8cbc71 Mon Sep 17 00:00:00 2001 From: Dariusz Szut Date: Mon, 22 Nov 2021 12:07:05 +0100 Subject: [PATCH] IBX-1505: Added autosave to COTF in UDW --- .../admin/ui/on_the_fly/edit_on_the_fly.html.twig | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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 5470c51b19..2ace260b9d 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 @@ -8,13 +8,16 @@ {% endblock %} -{% block page_title %} - {% include '@ezdesign/content/edit/content_header.html.twig' with { - class: 'ez-content-edit-page-title--increased-left-margin', +{% set without_close_button = true %} + +{% block header %} + {% include '@ezdesign/ui/edit_header.html.twig' with { action_name: 'editing'|trans|desc('Editing'), title: content.name, + icon_name: 'content-type', + show_autosave_status: true, description: content_type.description, - without_close_button: true + subtitle: 'editing_details'|trans({ '%location_name%': parent_location.contentInfo.name })|desc('under %location_name%'), } %} {% endblock %} @@ -30,8 +33,6 @@ {% endblock %} -{% block right_sidebar_wrapper %}{% endblock %} - {% block form_before %} {{ ez_render_component_group('content-edit-form-before', { 'content': content,