{% extends '@ui/dashboards/default.html.twig' %}
{% form_theme dataForm '@ui/create/forms.html.twig' %}
{%- block main_class -%}
v3_2 {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/main_class.html.twig' ignore missing %}
{%- endblock -%}
{% block header %}
{% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/header.html.twig' ignore missing %}
{% endblock %}
{% block sidebar %}
{% embed '@ui/common/dashboard/sidebar/editor/header.html.twig' with {
htmlId: 'editor-menu-header',
title: '%s Editor'|format(
moduleConfig.name
)|trim,
subtitle: ''
} %}{% endembed %}
{% embed '@ui/common/dashboard/sidebar/editor/navs.html.twig' with {
htmlId: 'editor-menu-options'
} %}
{% block items %}
{% set autoShow = autoShow|default(false) %}
{% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/sidebar.html.twig' ignore missing %}
{% endblock %}
{% endembed %}
{% embed '@ui/common/dashboard/sidebar/editor/buttons.html.twig' with {
htmlId: 'editor-menu-actions'
} %}
{% block items %}
{% for key,actionForm in actionForms %}
{% include '@CmsModule/Content/includes/editor/actions/' ~ key ~ '.html.twig' %}
{% endfor %}
{% include '@CmsModule/Content/includes/editor/exit.html.twig' %}
{% endblock %}
{% endembed %}
{% include '@CmsModule/Content/includes/editor/scripts.html.twig' %}
{% endblock %}
{% block content %}
{{ form_start(dataForm, {
attr: {
id: dataForm.vars.id
}
}) }}
{% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/form.html.twig' ignore missing %}
{{ form_rest(dataForm) }}
{{ form_end(dataForm) }}
{% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/scripts.html.twig' ignore missing %}
{% endblock %}