var/cache/test/twig/73/73c5d4202b34021353d4f7e0a71e8a6a.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @CmsModule/Content/proxyCreate.html.twig */
  14. class __TwigTemplate_6f2a7d95bb1a8949b8a69b725dc70b14 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'main_class' => [$this'block_main_class'],
  24.             'header' => [$this'block_header'],
  25.             'sidebar' => [$this'block_sidebar'],
  26.             'content' => [$this'block_content'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "@ui/dashboards/default.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CmsModule/Content/proxyCreate.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CmsModule/Content/proxyCreate.html.twig"));
  41.         // line 3
  42.         $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); })()), [=> "@ui/create/forms.html.twig"], true);
  43.         // line 1
  44.         $this->parent $this->loadTemplate("@ui/dashboards/default.html.twig""@CmsModule/Content/proxyCreate.html.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 5
  52.     public function block_main_class($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_class"));
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_class"));
  59.         // line 6
  60.         echo "v3_2 ";
  61.         $__internal_compile_0 null;
  62.         try {
  63.             $__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"falsefalsefalse6)) . "/includes/main_class.html.twig"), "@CmsModule/Content/proxyCreate.html.twig"6);
  64.         } catch (LoaderError $e) {
  65.             // ignore missing template
  66.         }
  67.         if ($__internal_compile_0) {
  68.             $__internal_compile_0->display(twig_array_merge($context, ['_args' => []]));
  69.         }
  70.         
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  72.         
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  74.     }
  75.     // line 9
  76.     public function block_header($context, array $blocks = [])
  77.     {
  78.         $macros $this->macros;
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  83.         // line 10
  84.         echo "    ";
  85.         $__internal_compile_1 null;
  86.         try {
  87.             $__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"falsefalsefalse10)) . "/includes/header.html.twig"), "@CmsModule/Content/proxyCreate.html.twig"10);
  88.         } catch (LoaderError $e) {
  89.             // ignore missing template
  90.         }
  91.         if ($__internal_compile_1) {
  92.             $__internal_compile_1->display(twig_array_merge($context, ['_args' => []]));
  93.         }
  94.         
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  96.         
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  98.     }
  99.     // line 13
  100.     public function block_sidebar($context, array $blocks = [])
  101.     {
  102.         $macros $this->macros;
  103.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  107.         // line 14
  108.         echo "    ";
  109.         $this->loadTemplate("@CmsModule/Content/proxyCreate.html.twig""@CmsModule/Content/proxyCreate.html.twig"14"1236584494")->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
  110. (isset($context["moduleConfig"]) || array_key_exists("moduleConfig"$context) ? $context["moduleConfig"] : (function () { throw new RuntimeError('Variable "moduleConfig" does not exist.'17$this->source); })()), "name", [], "any"falsefalsefalse17))), "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"falsefalsefalse17))), "subtitle" => ""])]));
  111.         // line 21
  112.         echo "    ";
  113.         $this->loadTemplate("@CmsModule/Content/proxyCreate.html.twig""@CmsModule/Content/proxyCreate.html.twig"21"1522538948")->display(twig_array_merge(twig_array_merge($context, ["htmlId" => "editor-menu-options"]), ['_args' => twig_to_array(["htmlId" => "editor-menu-options"])]));
  114.         // line 29
  115.         echo "    ";
  116.         $this->loadTemplate("@CmsModule/Content/proxyCreate.html.twig""@CmsModule/Content/proxyCreate.html.twig"29"1200832498")->display(twig_array_merge(twig_array_merge($context, ["htmlId" => "editor-menu-actions"]), ['_args' => twig_to_array(["htmlId" => "editor-menu-actions"])]));
  117.         // line 39
  118.         echo "    ";
  119.         $this->loadTemplate("@CmsModule/Content/includes/editor/scripts.html.twig""@CmsModule/Content/proxyCreate.html.twig"39)->display(twig_array_merge($context, ['_args' => []]));
  120.         
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  122.         
  123.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  124.     }
  125.     // line 42
  126.     public function block_content($context, array $blocks = [])
  127.     {
  128.         $macros $this->macros;
  129.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  131.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  132.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  133.         // line 43
  134.         echo "    ";
  135.         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->sourcetwig_get_attribute($this->env$this->source,         // line 45
  136. (isset($context["dataForm"]) || array_key_exists("dataForm"$context) ? $context["dataForm"] : (function () { throw new RuntimeError('Variable "dataForm" does not exist.'45$this->source); })()), "vars", [], "any"falsefalsefalse45), "id", [], "any"falsefalsefalse45)]]);
  137.         // line 47
  138.         echo "
  139.     ";
  140.         // line 48
  141.         $__internal_compile_2 null;
  142.         try {
  143.             $__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"falsefalsefalse48)) . "/includes/form.html.twig"), "@CmsModule/Content/proxyCreate.html.twig"48);
  144.         } catch (LoaderError $e) {
  145.             // ignore missing template
  146.         }
  147.         if ($__internal_compile_2) {
  148.             $__internal_compile_2->display(twig_array_merge($context, ['_args' => []]));
  149.         }
  150.         // line 49
  151.         echo "    ";
  152.         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');
  153.         echo "
  154.     ";
  155.         // line 50
  156.         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');
  157.         echo "
  158.     ";
  159.         // line 51
  160.         $__internal_compile_3 null;
  161.         try {
  162.             $__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"falsefalsefalse51)) . "/includes/scripts.html.twig"), "@CmsModule/Content/proxyCreate.html.twig"51);
  163.         } catch (LoaderError $e) {
  164.             // ignore missing template
  165.         }
  166.         if ($__internal_compile_3) {
  167.             $__internal_compile_3->display(twig_array_merge($context, ['_args' => []]));
  168.         }
  169.         
  170.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  171.         
  172.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  173.     }
  174.     public function getTemplateName()
  175.     {
  176.         return "@CmsModule/Content/proxyCreate.html.twig";
  177.     }
  178.     public function isTraitable()
  179.     {
  180.         return false;
  181.     }
  182.     public function getDebugInfo()
  183.     {
  184.         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,);
  185.     }
  186.     public function getSourceContext()
  187.     {
  188.         return new Source("{% extends '@ui/dashboards/default.html.twig' %}
  189. {% form_theme dataForm '@ui/create/forms.html.twig' %}
  190. {%- block main_class -%}
  191.     v3_2 {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/main_class.html.twig' ignore missing %}
  192. {%- endblock -%}
  193. {% block header %}
  194.     {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/header.html.twig' ignore missing %}
  195. {% endblock %}
  196. {% block sidebar %}
  197.     {% embed '@ui/common/dashboard/sidebar/editor/header.html.twig' with {
  198.         htmlId: 'editor-menu-header',
  199.         title: '%s Editor'|format(
  200.             moduleConfig.name
  201.         )|trim,
  202.         subtitle: ''
  203.     } %}{% endembed %}
  204.     {% embed '@ui/common/dashboard/sidebar/editor/navs.html.twig' with {
  205.         htmlId: 'editor-menu-options'
  206.     } %}
  207.         {% block items %}
  208.             {% set autoShow = autoShow|default(false) %}
  209.             {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/sidebar.html.twig' ignore missing %}
  210.         {% endblock %}
  211.     {% endembed %}
  212.     {% embed '@ui/common/dashboard/sidebar/editor/buttons.html.twig' with {
  213.         htmlId: 'editor-menu-actions'
  214.     } %}
  215.         {% block items %}
  216.             {% for key,actionForm in actionForms %}
  217.                 {% include '@CmsModule/Content/includes/editor/actions/' ~ key ~ '.html.twig' %}
  218.             {% endfor %}
  219.             {% include '@CmsModule/Content/includes/editor/exit.html.twig' %}
  220.         {% endblock %}
  221.     {% endembed %}
  222.     {% include '@CmsModule/Content/includes/editor/scripts.html.twig' %}
  223. {% endblock %}
  224. {% block content %}
  225.     {{ form_start(dataForm, {
  226.         attr: {
  227.             id: dataForm.vars.id
  228.         }
  229.     }) }}
  230.     {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/form.html.twig' ignore missing %}
  231.     {{ form_rest(dataForm) }}
  232.     {{ form_end(dataForm) }}
  233.     {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/scripts.html.twig' ignore missing %}
  234. {% endblock %}
  235. ""@CmsModule/Content/proxyCreate.html.twig""/var/www/campussuite/src/Cms/ModuleBundle/Resources/views/Content/proxyCreate.html.twig");
  236.     }
  237. }
  238. /* @CmsModule/Content/proxyCreate.html.twig */
  239. class __TwigTemplate_6f2a7d95bb1a8949b8a69b725dc70b14___1236584494 extends \Twig\Template
  240. {
  241.     private $source;
  242.     private $macros = [];
  243.     public function __construct(Environment $env)
  244.     {
  245.         parent::__construct($env);
  246.         $this->source $this->getSourceContext();
  247.         $this->blocks = [
  248.         ];
  249.     }
  250.     protected function doGetParent(array $context)
  251.     {
  252.         // line 14
  253.         return "@ui/common/dashboard/sidebar/editor/header.html.twig";
  254.     }
  255.     protected function doDisplay(array $context, array $blocks = [])
  256.     {
  257.         $macros $this->macros;
  258.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  259.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CmsModule/Content/proxyCreate.html.twig"));
  260.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  261.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CmsModule/Content/proxyCreate.html.twig"));
  262.         $this->parent $this->loadTemplate("@ui/common/dashboard/sidebar/editor/header.html.twig""@CmsModule/Content/proxyCreate.html.twig"14);
  263.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  264.         
  265.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  266.         
  267.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  268.     }
  269.     public function getTemplateName()
  270.     {
  271.         return "@CmsModule/Content/proxyCreate.html.twig";
  272.     }
  273.     public function isTraitable()
  274.     {
  275.         return false;
  276.     }
  277.     public function getDebugInfo()
  278.     {
  279.         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,);
  280.     }
  281.     public function getSourceContext()
  282.     {
  283.         return new Source("{% extends '@ui/dashboards/default.html.twig' %}
  284. {% form_theme dataForm '@ui/create/forms.html.twig' %}
  285. {%- block main_class -%}
  286.     v3_2 {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/main_class.html.twig' ignore missing %}
  287. {%- endblock -%}
  288. {% block header %}
  289.     {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/header.html.twig' ignore missing %}
  290. {% endblock %}
  291. {% block sidebar %}
  292.     {% embed '@ui/common/dashboard/sidebar/editor/header.html.twig' with {
  293.         htmlId: 'editor-menu-header',
  294.         title: '%s Editor'|format(
  295.             moduleConfig.name
  296.         )|trim,
  297.         subtitle: ''
  298.     } %}{% endembed %}
  299.     {% embed '@ui/common/dashboard/sidebar/editor/navs.html.twig' with {
  300.         htmlId: 'editor-menu-options'
  301.     } %}
  302.         {% block items %}
  303.             {% set autoShow = autoShow|default(false) %}
  304.             {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/sidebar.html.twig' ignore missing %}
  305.         {% endblock %}
  306.     {% endembed %}
  307.     {% embed '@ui/common/dashboard/sidebar/editor/buttons.html.twig' with {
  308.         htmlId: 'editor-menu-actions'
  309.     } %}
  310.         {% block items %}
  311.             {% for key,actionForm in actionForms %}
  312.                 {% include '@CmsModule/Content/includes/editor/actions/' ~ key ~ '.html.twig' %}
  313.             {% endfor %}
  314.             {% include '@CmsModule/Content/includes/editor/exit.html.twig' %}
  315.         {% endblock %}
  316.     {% endembed %}
  317.     {% include '@CmsModule/Content/includes/editor/scripts.html.twig' %}
  318. {% endblock %}
  319. {% block content %}
  320.     {{ form_start(dataForm, {
  321.         attr: {
  322.             id: dataForm.vars.id
  323.         }
  324.     }) }}
  325.     {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/form.html.twig' ignore missing %}
  326.     {{ form_rest(dataForm) }}
  327.     {{ form_end(dataForm) }}
  328.     {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/scripts.html.twig' ignore missing %}
  329. {% endblock %}
  330. ""@CmsModule/Content/proxyCreate.html.twig""/var/www/campussuite/src/Cms/ModuleBundle/Resources/views/Content/proxyCreate.html.twig");
  331.     }
  332. }
  333. /* @CmsModule/Content/proxyCreate.html.twig */
  334. class __TwigTemplate_6f2a7d95bb1a8949b8a69b725dc70b14___1522538948 extends \Twig\Template
  335. {
  336.     private $source;
  337.     private $macros = [];
  338.     public function __construct(Environment $env)
  339.     {
  340.         parent::__construct($env);
  341.         $this->source $this->getSourceContext();
  342.         $this->blocks = [
  343.             'items' => [$this'block_items'],
  344.         ];
  345.     }
  346.     protected function doGetParent(array $context)
  347.     {
  348.         // line 21
  349.         return "@ui/common/dashboard/sidebar/editor/navs.html.twig";
  350.     }
  351.     protected function doDisplay(array $context, array $blocks = [])
  352.     {
  353.         $macros $this->macros;
  354.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  355.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CmsModule/Content/proxyCreate.html.twig"));
  356.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  357.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CmsModule/Content/proxyCreate.html.twig"));
  358.         $this->parent $this->loadTemplate("@ui/common/dashboard/sidebar/editor/navs.html.twig""@CmsModule/Content/proxyCreate.html.twig"21);
  359.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  360.         
  361.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  362.         
  363.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  364.     }
  365.     // line 24
  366.     public function block_items($context, array $blocks = [])
  367.     {
  368.         $macros $this->macros;
  369.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  370.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""items"));
  371.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  372.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""items"));
  373.         // line 25
  374.         echo "            ";
  375.         $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));
  376.         // line 26
  377.         echo "            ";
  378.         $__internal_compile_4 null;
  379.         try {
  380.             $__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"falsefalsefalse26)) . "/includes/sidebar.html.twig"), "@CmsModule/Content/proxyCreate.html.twig"26);
  381.         } catch (LoaderError $e) {
  382.             // ignore missing template
  383.         }
  384.         if ($__internal_compile_4) {
  385.             $__internal_compile_4->display(twig_array_merge($context, ['_args' => []]));
  386.         }
  387.         // line 27
  388.         echo "        ";
  389.         
  390.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  391.         
  392.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  393.     }
  394.     public function getTemplateName()
  395.     {
  396.         return "@CmsModule/Content/proxyCreate.html.twig";
  397.     }
  398.     public function isTraitable()
  399.     {
  400.         return false;
  401.     }
  402.     public function getDebugInfo()
  403.     {
  404.         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,);
  405.     }
  406.     public function getSourceContext()
  407.     {
  408.         return new Source("{% extends '@ui/dashboards/default.html.twig' %}
  409. {% form_theme dataForm '@ui/create/forms.html.twig' %}
  410. {%- block main_class -%}
  411.     v3_2 {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/main_class.html.twig' ignore missing %}
  412. {%- endblock -%}
  413. {% block header %}
  414.     {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/header.html.twig' ignore missing %}
  415. {% endblock %}
  416. {% block sidebar %}
  417.     {% embed '@ui/common/dashboard/sidebar/editor/header.html.twig' with {
  418.         htmlId: 'editor-menu-header',
  419.         title: '%s Editor'|format(
  420.             moduleConfig.name
  421.         )|trim,
  422.         subtitle: ''
  423.     } %}{% endembed %}
  424.     {% embed '@ui/common/dashboard/sidebar/editor/navs.html.twig' with {
  425.         htmlId: 'editor-menu-options'
  426.     } %}
  427.         {% block items %}
  428.             {% set autoShow = autoShow|default(false) %}
  429.             {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/sidebar.html.twig' ignore missing %}
  430.         {% endblock %}
  431.     {% endembed %}
  432.     {% embed '@ui/common/dashboard/sidebar/editor/buttons.html.twig' with {
  433.         htmlId: 'editor-menu-actions'
  434.     } %}
  435.         {% block items %}
  436.             {% for key,actionForm in actionForms %}
  437.                 {% include '@CmsModule/Content/includes/editor/actions/' ~ key ~ '.html.twig' %}
  438.             {% endfor %}
  439.             {% include '@CmsModule/Content/includes/editor/exit.html.twig' %}
  440.         {% endblock %}
  441.     {% endembed %}
  442.     {% include '@CmsModule/Content/includes/editor/scripts.html.twig' %}
  443. {% endblock %}
  444. {% block content %}
  445.     {{ form_start(dataForm, {
  446.         attr: {
  447.             id: dataForm.vars.id
  448.         }
  449.     }) }}
  450.     {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/form.html.twig' ignore missing %}
  451.     {{ form_rest(dataForm) }}
  452.     {{ form_end(dataForm) }}
  453.     {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/scripts.html.twig' ignore missing %}
  454. {% endblock %}
  455. ""@CmsModule/Content/proxyCreate.html.twig""/var/www/campussuite/src/Cms/ModuleBundle/Resources/views/Content/proxyCreate.html.twig");
  456.     }
  457. }
  458. /* @CmsModule/Content/proxyCreate.html.twig */
  459. class __TwigTemplate_6f2a7d95bb1a8949b8a69b725dc70b14___1200832498 extends \Twig\Template
  460. {
  461.     private $source;
  462.     private $macros = [];
  463.     public function __construct(Environment $env)
  464.     {
  465.         parent::__construct($env);
  466.         $this->source $this->getSourceContext();
  467.         $this->blocks = [
  468.             'items' => [$this'block_items'],
  469.         ];
  470.     }
  471.     protected function doGetParent(array $context)
  472.     {
  473.         // line 29
  474.         return "@ui/common/dashboard/sidebar/editor/buttons.html.twig";
  475.     }
  476.     protected function doDisplay(array $context, array $blocks = [])
  477.     {
  478.         $macros $this->macros;
  479.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  480.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CmsModule/Content/proxyCreate.html.twig"));
  481.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  482.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CmsModule/Content/proxyCreate.html.twig"));
  483.         $this->parent $this->loadTemplate("@ui/common/dashboard/sidebar/editor/buttons.html.twig""@CmsModule/Content/proxyCreate.html.twig"29);
  484.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  485.         
  486.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  487.         
  488.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  489.     }
  490.     // line 32
  491.     public function block_items($context, array $blocks = [])
  492.     {
  493.         $macros $this->macros;
  494.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  495.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""items"));
  496.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  497.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""items"));
  498.         // line 33
  499.         echo "            ";
  500.         $context['_parent'] = $context;
  501.         $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); })()));
  502.         $context['loop'] = [
  503.           'parent' => $context['_parent'],
  504.           'index0' => 0,
  505.           'index'  => 1,
  506.           'first'  => true,
  507.         ];
  508.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  509.             $length count($context['_seq']);
  510.             $context['loop']['revindex0'] = $length 1;
  511.             $context['loop']['revindex'] = $length;
  512.             $context['loop']['length'] = $length;
  513.             $context['loop']['last'] = === $length;
  514.         }
  515.         foreach ($context['_seq'] as $context["key"] => $context["actionForm"]) {
  516.             // line 34
  517.             echo "                ";
  518.             $this->loadTemplate((("@CmsModule/Content/includes/editor/actions/" $context["key"]) . ".html.twig"), "@CmsModule/Content/proxyCreate.html.twig"34)->display(twig_array_merge($context, ['_args' => []]));
  519.             // line 35
  520.             echo "            ";
  521.             ++$context['loop']['index0'];
  522.             ++$context['loop']['index'];
  523.             $context['loop']['first'] = false;
  524.             if (isset($context['loop']['length'])) {
  525.                 --$context['loop']['revindex0'];
  526.                 --$context['loop']['revindex'];
  527.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  528.             }
  529.         }
  530.         $_parent $context['_parent'];
  531.         unset($context['_seq'], $context['_iterated'], $context['key'], $context['actionForm'], $context['_parent'], $context['loop']);
  532.         $context array_intersect_key($context$_parent) + $_parent;
  533.         // line 36
  534.         echo "            ";
  535.         $this->loadTemplate("@CmsModule/Content/includes/editor/exit.html.twig""@CmsModule/Content/proxyCreate.html.twig"36)->display(twig_array_merge($context, ['_args' => []]));
  536.         // line 37
  537.         echo "        ";
  538.         
  539.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  540.         
  541.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  542.     }
  543.     public function getTemplateName()
  544.     {
  545.         return "@CmsModule/Content/proxyCreate.html.twig";
  546.     }
  547.     public function isTraitable()
  548.     {
  549.         return false;
  550.     }
  551.     public function getDebugInfo()
  552.     {
  553.         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,);
  554.     }
  555.     public function getSourceContext()
  556.     {
  557.         return new Source("{% extends '@ui/dashboards/default.html.twig' %}
  558. {% form_theme dataForm '@ui/create/forms.html.twig' %}
  559. {%- block main_class -%}
  560.     v3_2 {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/main_class.html.twig' ignore missing %}
  561. {%- endblock -%}
  562. {% block header %}
  563.     {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/header.html.twig' ignore missing %}
  564. {% endblock %}
  565. {% block sidebar %}
  566.     {% embed '@ui/common/dashboard/sidebar/editor/header.html.twig' with {
  567.         htmlId: 'editor-menu-header',
  568.         title: '%s Editor'|format(
  569.             moduleConfig.name
  570.         )|trim,
  571.         subtitle: ''
  572.     } %}{% endembed %}
  573.     {% embed '@ui/common/dashboard/sidebar/editor/navs.html.twig' with {
  574.         htmlId: 'editor-menu-options'
  575.     } %}
  576.         {% block items %}
  577.             {% set autoShow = autoShow|default(false) %}
  578.             {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/sidebar.html.twig' ignore missing %}
  579.         {% endblock %}
  580.     {% endembed %}
  581.     {% embed '@ui/common/dashboard/sidebar/editor/buttons.html.twig' with {
  582.         htmlId: 'editor-menu-actions'
  583.     } %}
  584.         {% block items %}
  585.             {% for key,actionForm in actionForms %}
  586.                 {% include '@CmsModule/Content/includes/editor/actions/' ~ key ~ '.html.twig' %}
  587.             {% endfor %}
  588.             {% include '@CmsModule/Content/includes/editor/exit.html.twig' %}
  589.         {% endblock %}
  590.     {% endembed %}
  591.     {% include '@CmsModule/Content/includes/editor/scripts.html.twig' %}
  592. {% endblock %}
  593. {% block content %}
  594.     {{ form_start(dataForm, {
  595.         attr: {
  596.             id: dataForm.vars.id
  597.         }
  598.     }) }}
  599.     {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/form.html.twig' ignore missing %}
  600.     {{ form_rest(dataForm) }}
  601.     {{ form_end(dataForm) }}
  602.     {% include '@ui/modules/' ~ moduleConfig.key ~ '/includes/scripts.html.twig' ignore missing %}
  603. {% endblock %}
  604. ""@CmsModule/Content/proxyCreate.html.twig""/var/www/campussuite/src/Cms/ModuleBundle/Resources/views/Content/proxyCreate.html.twig");
  605.     }
  606. }