src/Cms/ModuleBundle/Resources/views/Content/proxyCreate.html.twig line 1

Open in your IDE?
  1. {% extends '@ui/dashboards/default.html.twig' %}
  2. {% form_theme dataForm '@ui/create/forms.html.twig' %}
  3. {%- block main_class -%}
  4.     v3_2 {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/main_class.html.twig' ignore missing %}
  5. {%- endblock -%}
  6. {% block header %}
  7.     {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/header.html.twig' ignore missing %}
  8. {% endblock %}
  9. {% block sidebar %}
  10.     {% embed '@ui/common/dashboard/sidebar/editor/header.html.twig' with {
  11.         htmlId: 'editor-menu-header',
  12.         title: '%s Editor'|format(
  13.             moduleConfig.name
  14.         )|trim,
  15.         subtitle: ''
  16.     } %}{% endembed %}
  17.     {% embed '@ui/common/dashboard/sidebar/editor/navs.html.twig' with {
  18.         htmlId: 'editor-menu-options'
  19.     } %}
  20.         {% block items %}
  21.             {% set autoShow = autoShow|default(false) %}
  22.             {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/sidebar.html.twig' ignore missing %}
  23.         {% endblock %}
  24.     {% endembed %}
  25.     {% embed '@ui/common/dashboard/sidebar/editor/buttons.html.twig' with {
  26.         htmlId: 'editor-menu-actions'
  27.     } %}
  28.         {% block items %}
  29.             {% for key,actionForm in actionForms %}
  30.                 {% include '@CmsModule/Content/includes/editor/actions/' ~ key ~ '.html.twig' %}
  31.             {% endfor %}
  32.             {% include '@CmsModule/Content/includes/editor/exit.html.twig' %}
  33.         {% endblock %}
  34.     {% endembed %}
  35.     {% include '@CmsModule/Content/includes/editor/scripts.html.twig' %}
  36. {% endblock %}
  37. {% block content %}
  38.     {{ form_start(dataForm, {
  39.         attr: {
  40.             id: dataForm.vars.id
  41.         }
  42.     }) }}
  43.     {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/form.html.twig' ignore missing %}
  44.     {{ form_rest(dataForm) }}
  45.     {{ form_end(dataForm) }}
  46.     {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/scripts.html.twig' ignore missing %}
  47. {% endblock %}