var/cache/dev/twig/1e/1eb50de6ed6ad3fc9dfeb090cbeb7e39.php line 40

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. /* content/car_submit.html.twig */
  14. class __TwigTemplate_c4a068a5c814ccac22a987b13826398a extends 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.             'content' => [$this'block_content'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "layouts/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/car_submit.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/car_submit.html.twig"));
  40.         // line 2
  41.         $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'2$this->source); })()), ["bootstrap_4_layout.html.twig"], true);
  42.         // line 1
  43.         $this->parent $this->loadTemplate("layouts/layout.html.twig""content/car_submit.html.twig"1);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 4
  51.     public function block_content($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  58.         // line 5
  59.         echo "    <div id=\"main-content\" class=\"main-content mb-5\">
  60.         <div class=\"page-header\">
  61.             <h1>";
  62.         // line 8
  63.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""headline");
  64.         echo "</h1>
  65.         </div>
  66.         <p>
  67.             ";
  68.         // line 12
  69.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""intro");
  70.         echo "
  71.         </p>
  72.         ";
  73.         // line 15
  74.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock($this->sandbox->ensureToStringAllowed((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'15$this->source); })()), 15$this->source), 'form');
  75.         echo "
  76.     </div>
  77. ";
  78.         
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  80.         
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  82.     }
  83.     /**
  84.      * @codeCoverageIgnore
  85.      */
  86.     public function getTemplateName()
  87.     {
  88.         return "content/car_submit.html.twig";
  89.     }
  90.     /**
  91.      * @codeCoverageIgnore
  92.      */
  93.     public function isTraitable()
  94.     {
  95.         return false;
  96.     }
  97.     /**
  98.      * @codeCoverageIgnore
  99.      */
  100.     public function getDebugInfo()
  101.     {
  102.         return array (  91 => 15,  85 => 12,  78 => 8,  73 => 5,  63 => 4,  52 => 1,  50 => 2,  37 => 1,);
  103.     }
  104.     public function getSourceContext()
  105.     {
  106.         return new Source("{% extends 'layouts/layout.html.twig' %}
  107. {% form_theme form 'bootstrap_4_layout.html.twig' %}
  108. {% block content %}
  109.     <div id=\"main-content\" class=\"main-content mb-5\">
  110.         <div class=\"page-header\">
  111.             <h1>{{ pimcore_input('headline') }}</h1>
  112.         </div>
  113.         <p>
  114.             {{ pimcore_wysiwyg('intro') }}
  115.         </p>
  116.         {{ form(form) }}
  117.     </div>
  118. {% endblock %}""content/car_submit.html.twig""/var/www/dev-10/templates/content/car_submit.html.twig");
  119.     }
  120.     
  121.     public function checkSecurity()
  122.     {
  123.         static $tags = array("form_theme" => 2);
  124.         static $filters = array();
  125.         static $functions = array("pimcore_input" => 8"pimcore_wysiwyg" => 12"form" => 15);
  126.         try {
  127.             $this->sandbox->checkSecurity(
  128.                 ['form_theme'],
  129.                 [],
  130.                 ['pimcore_input''pimcore_wysiwyg''form']
  131.             );
  132.         } catch (SecurityError $e) {
  133.             $e->setSourceContext($this->source);
  134.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  135.                 $e->setTemplateLine($tags[$e->getTagName()]);
  136.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  137.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  138.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  139.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  140.             }
  141.             throw $e;
  142.         }
  143.     }
  144. }