<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @CmsModule/Content/proxyCreate.html.twig */
class __TwigTemplate_6f2a7d95bb1a8949b8a69b725dc70b14 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'main_class' => [$this, 'block_main_class'],
'header' => [$this, 'block_header'],
'sidebar' => [$this, 'block_sidebar'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@ui/dashboards/default.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsModule/Content/proxyCreate.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsModule/Content/proxyCreate.html.twig"));
// line 3
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["dataForm"]) || array_key_exists("dataForm", $context) ? $context["dataForm"] : (function () { throw new RuntimeError('Variable "dataForm" does not exist.', 3, $this->source); })()), [0 => "@ui/create/forms.html.twig"], true);
// line 1
$this->parent = $this->loadTemplate("@ui/dashboards/default.html.twig", "@CmsModule/Content/proxyCreate.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 5
public function block_main_class($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_class"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_class"));
// line 6
echo "v3_2 ";
$__internal_compile_0 = null;
try {
$__internal_compile_0 = $this->loadTemplate((("@ui/modules/" . twig_get_attribute($this->env, $this->source, (isset($context["moduleConfig"]) || array_key_exists("moduleConfig", $context) ? $context["moduleConfig"] : (function () { throw new RuntimeError('Variable "moduleConfig" does not exist.', 6, $this->source); })()), "key", [], "any", false, false, false, 6)) . "/includes/main_class.html.twig"), "@CmsModule/Content/proxyCreate.html.twig", 6);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_0) {
$__internal_compile_0->display(twig_array_merge($context, ['_args' => []]));
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 9
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 10
echo " ";
$__internal_compile_1 = null;
try {
$__internal_compile_1 = $this->loadTemplate((("@ui/modules/" . twig_get_attribute($this->env, $this->source, (isset($context["moduleConfig"]) || array_key_exists("moduleConfig", $context) ? $context["moduleConfig"] : (function () { throw new RuntimeError('Variable "moduleConfig" does not exist.', 10, $this->source); })()), "key", [], "any", false, false, false, 10)) . "/includes/header.html.twig"), "@CmsModule/Content/proxyCreate.html.twig", 10);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_1) {
$__internal_compile_1->display(twig_array_merge($context, ['_args' => []]));
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 13
public function block_sidebar($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
// line 14
echo " ";
$this->loadTemplate("@CmsModule/Content/proxyCreate.html.twig", "@CmsModule/Content/proxyCreate.html.twig", 14, "124742769")->display(twig_array_merge(twig_array_merge($context, ["htmlId" => "editor-menu-header", "title" => twig_trim_filter(twig_sprintf("%s Editor", twig_get_attribute($this->env, $this->source, // line 17
(isset($context["moduleConfig"]) || array_key_exists("moduleConfig", $context) ? $context["moduleConfig"] : (function () { throw new RuntimeError('Variable "moduleConfig" does not exist.', 17, $this->source); })()), "name", [], "any", false, false, false, 17))), "subtitle" => ""]), ['_args' => twig_to_array(["htmlId" => "editor-menu-header", "title" => twig_trim_filter(twig_sprintf("%s Editor", twig_get_attribute($this->env, $this->source, (isset($context["moduleConfig"]) || array_key_exists("moduleConfig", $context) ? $context["moduleConfig"] : (function () { throw new RuntimeError('Variable "moduleConfig" does not exist.', 17, $this->source); })()), "name", [], "any", false, false, false, 17))), "subtitle" => ""])]));
// line 21
echo " ";
$this->loadTemplate("@CmsModule/Content/proxyCreate.html.twig", "@CmsModule/Content/proxyCreate.html.twig", 21, "1510053581")->display(twig_array_merge(twig_array_merge($context, ["htmlId" => "editor-menu-options"]), ['_args' => twig_to_array(["htmlId" => "editor-menu-options"])]));
// line 29
echo " ";
$this->loadTemplate("@CmsModule/Content/proxyCreate.html.twig", "@CmsModule/Content/proxyCreate.html.twig", 29, "539558806")->display(twig_array_merge(twig_array_merge($context, ["htmlId" => "editor-menu-actions"]), ['_args' => twig_to_array(["htmlId" => "editor-menu-actions"])]));
// line 39
echo " ";
$this->loadTemplate("@CmsModule/Content/includes/editor/scripts.html.twig", "@CmsModule/Content/proxyCreate.html.twig", 39)->display(twig_array_merge($context, ['_args' => []]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 42
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 43
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["dataForm"]) || array_key_exists("dataForm", $context) ? $context["dataForm"] : (function () { throw new RuntimeError('Variable "dataForm" does not exist.', 43, $this->source); })()), 'form_start', ["attr" => ["id" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 45
(isset($context["dataForm"]) || array_key_exists("dataForm", $context) ? $context["dataForm"] : (function () { throw new RuntimeError('Variable "dataForm" does not exist.', 45, $this->source); })()), "vars", [], "any", false, false, false, 45), "id", [], "any", false, false, false, 45)]]);
// line 47
echo "
";
// line 48
$__internal_compile_2 = null;
try {
$__internal_compile_2 = $this->loadTemplate((("@ui/modules/" . twig_get_attribute($this->env, $this->source, (isset($context["moduleConfig"]) || array_key_exists("moduleConfig", $context) ? $context["moduleConfig"] : (function () { throw new RuntimeError('Variable "moduleConfig" does not exist.', 48, $this->source); })()), "key", [], "any", false, false, false, 48)) . "/includes/form.html.twig"), "@CmsModule/Content/proxyCreate.html.twig", 48);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_2) {
$__internal_compile_2->display(twig_array_merge($context, ['_args' => []]));
}
// line 49
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["dataForm"]) || array_key_exists("dataForm", $context) ? $context["dataForm"] : (function () { throw new RuntimeError('Variable "dataForm" does not exist.', 49, $this->source); })()), 'rest');
echo "
";
// line 50
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["dataForm"]) || array_key_exists("dataForm", $context) ? $context["dataForm"] : (function () { throw new RuntimeError('Variable "dataForm" does not exist.', 50, $this->source); })()), 'form_end');
echo "
";
// line 51
$__internal_compile_3 = null;
try {
$__internal_compile_3 = $this->loadTemplate((("@ui/modules/" . twig_get_attribute($this->env, $this->source, (isset($context["moduleConfig"]) || array_key_exists("moduleConfig", $context) ? $context["moduleConfig"] : (function () { throw new RuntimeError('Variable "moduleConfig" does not exist.', 51, $this->source); })()), "key", [], "any", false, false, false, 51)) . "/includes/scripts.html.twig"), "@CmsModule/Content/proxyCreate.html.twig", 51);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_3) {
$__internal_compile_3->display(twig_array_merge($context, ['_args' => []]));
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@CmsModule/Content/proxyCreate.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 189 => 51, 185 => 50, 180 => 49, 170 => 48, 167 => 47, 165 => 45, 163 => 43, 153 => 42, 142 => 39, 139 => 29, 136 => 21, 134 => 17, 132 => 14, 122 => 13, 103 => 10, 93 => 9, 74 => 6, 64 => 5, 53 => 1, 51 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% 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 %}
", "@CmsModule/Content/proxyCreate.html.twig", "/var/www/campussuite/src/Cms/ModuleBundle/Resources/views/Content/proxyCreate.html.twig");
}
}
/* @CmsModule/Content/proxyCreate.html.twig */
class __TwigTemplate_6f2a7d95bb1a8949b8a69b725dc70b14___124742769 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
];
}
protected function doGetParent(array $context)
{
// line 14
return "@ui/common/dashboard/sidebar/editor/header.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsModule/Content/proxyCreate.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsModule/Content/proxyCreate.html.twig"));
$this->parent = $this->loadTemplate("@ui/common/dashboard/sidebar/editor/header.html.twig", "@CmsModule/Content/proxyCreate.html.twig", 14);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "@CmsModule/Content/proxyCreate.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 299 => 14, 189 => 51, 185 => 50, 180 => 49, 170 => 48, 167 => 47, 165 => 45, 163 => 43, 153 => 42, 142 => 39, 139 => 29, 136 => 21, 134 => 17, 132 => 14, 122 => 13, 103 => 10, 93 => 9, 74 => 6, 64 => 5, 53 => 1, 51 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% 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 %}
", "@CmsModule/Content/proxyCreate.html.twig", "/var/www/campussuite/src/Cms/ModuleBundle/Resources/views/Content/proxyCreate.html.twig");
}
}
/* @CmsModule/Content/proxyCreate.html.twig */
class __TwigTemplate_6f2a7d95bb1a8949b8a69b725dc70b14___1510053581 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'items' => [$this, 'block_items'],
];
}
protected function doGetParent(array $context)
{
// line 21
return "@ui/common/dashboard/sidebar/editor/navs.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsModule/Content/proxyCreate.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsModule/Content/proxyCreate.html.twig"));
$this->parent = $this->loadTemplate("@ui/common/dashboard/sidebar/editor/navs.html.twig", "@CmsModule/Content/proxyCreate.html.twig", 21);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 24
public function block_items($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "items"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "items"));
// line 25
echo " ";
$context["autoShow"] = ((array_key_exists("autoShow", $context)) ? (_twig_default_filter((isset($context["autoShow"]) || array_key_exists("autoShow", $context) ? $context["autoShow"] : (function () { throw new RuntimeError('Variable "autoShow" does not exist.', 25, $this->source); })()), false)) : (false));
// line 26
echo " ";
$__internal_compile_4 = null;
try {
$__internal_compile_4 = $this->loadTemplate((("@ui/modules/" . twig_get_attribute($this->env, $this->source, (isset($context["moduleConfig"]) || array_key_exists("moduleConfig", $context) ? $context["moduleConfig"] : (function () { throw new RuntimeError('Variable "moduleConfig" does not exist.', 26, $this->source); })()), "key", [], "any", false, false, false, 26)) . "/includes/sidebar.html.twig"), "@CmsModule/Content/proxyCreate.html.twig", 26);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_compile_4) {
$__internal_compile_4->display(twig_array_merge($context, ['_args' => []]));
}
// line 27
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@CmsModule/Content/proxyCreate.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 462 => 27, 451 => 26, 448 => 25, 438 => 24, 415 => 21, 299 => 14, 189 => 51, 185 => 50, 180 => 49, 170 => 48, 167 => 47, 165 => 45, 163 => 43, 153 => 42, 142 => 39, 139 => 29, 136 => 21, 134 => 17, 132 => 14, 122 => 13, 103 => 10, 93 => 9, 74 => 6, 64 => 5, 53 => 1, 51 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% 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 %}
", "@CmsModule/Content/proxyCreate.html.twig", "/var/www/campussuite/src/Cms/ModuleBundle/Resources/views/Content/proxyCreate.html.twig");
}
}
/* @CmsModule/Content/proxyCreate.html.twig */
class __TwigTemplate_6f2a7d95bb1a8949b8a69b725dc70b14___539558806 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'items' => [$this, 'block_items'],
];
}
protected function doGetParent(array $context)
{
// line 29
return "@ui/common/dashboard/sidebar/editor/buttons.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsModule/Content/proxyCreate.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsModule/Content/proxyCreate.html.twig"));
$this->parent = $this->loadTemplate("@ui/common/dashboard/sidebar/editor/buttons.html.twig", "@CmsModule/Content/proxyCreate.html.twig", 29);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 32
public function block_items($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "items"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "items"));
// line 33
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["actionForms"]) || array_key_exists("actionForms", $context) ? $context["actionForms"] : (function () { throw new RuntimeError('Variable "actionForms" does not exist.', 33, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["key"] => $context["actionForm"]) {
// line 34
echo " ";
$this->loadTemplate((("@CmsModule/Content/includes/editor/actions/" . $context["key"]) . ".html.twig"), "@CmsModule/Content/proxyCreate.html.twig", 34)->display(twig_array_merge($context, ['_args' => []]));
// line 35
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['actionForm'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 36
echo " ";
$this->loadTemplate("@CmsModule/Content/includes/editor/exit.html.twig", "@CmsModule/Content/proxyCreate.html.twig", 36)->display(twig_array_merge($context, ['_args' => []]));
// line 37
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@CmsModule/Content/proxyCreate.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 636 => 37, 633 => 36, 619 => 35, 616 => 34, 598 => 33, 588 => 32, 565 => 29, 462 => 27, 451 => 26, 448 => 25, 438 => 24, 415 => 21, 299 => 14, 189 => 51, 185 => 50, 180 => 49, 170 => 48, 167 => 47, 165 => 45, 163 => 43, 153 => 42, 142 => 39, 139 => 29, 136 => 21, 134 => 17, 132 => 14, 122 => 13, 103 => 10, 93 => 9, 74 => 6, 64 => 5, 53 => 1, 51 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% 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 %}
", "@CmsModule/Content/proxyCreate.html.twig", "/var/www/campussuite/src/Cms/ModuleBundle/Resources/views/Content/proxyCreate.html.twig");
}
}