var/cache/dev/twig/9f/9f64f584e6051c1cead25b5feb55bd0d.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. /* request-account.html.twig */
  14. class __TwigTemplate_8d1266f450cb7f28921f9d12f42222c8 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 2
  31.         return "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", "request-account.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", "request-account.html.twig"));
  40.         $this->parent = $this->loadTemplate("layout.html.twig", "request-account.html.twig", 2);
  41.         $this->parent->display($context, array_merge($this->blocks, $blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 4
  48.     public function block_content($context, array $blocks = [])
  49.     {
  50.         $macros = $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  55.         // line 5
  56.         echo "
  57.     <section class=\"section-intro\">
  58.         <div class=\"container-fluid\">
  59.             <h1>";
  60.         // line 8
  61.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "introTitle", ["placeholder" => "Intro titel ..."]);
  62.         echo "</h1>
  63.         </div><!--/ .container-fluid -->
  64.     </section>
  65.     <main class=\"main\">
  66.         <section class=\"section-content\">
  67.             ";
  68.         // line 14
  69.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "areablock", "contentAreaBlock");
  70.         echo "
  71.             <div class=\"content-block\">
  72.                 <div class=\"container\">
  73.                     <div class=\"row justify-content-center\">
  74.                         <div class=\"col-xl-10\">
  75.                             ";
  76.         // line 20
  77.         $context["config"] = ["form_id" => 2, "form_template" => "bootstrap_4_layout.html.twig", "output_workflow" => "RequestAccountWorkflow"];
  78.         // line 25
  79.         echo "
  80.                             ";
  81.         // line 26
  82.         echo $this->extensions['FormBuilderBundle\Twig\Extension\StaticFormExtension']->generateForm($this->env, $context, $this->sandbox->ensureToStringAllowed((isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 26, $this->source); })()), 26, $this->source));
  83.         echo "
  84.                         </div>
  85.                     </div><!--/ .row -->
  86.                 </div><!--/ .container -->
  87.             </div><!--/ .content-block -->
  88.         </section>
  89.     </main>
  90.     
  91. ";
  92.         
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  94.         
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  96.     }
  97.     public function getTemplateName()
  98.     {
  99.         return "request-account.html.twig";
  100.     }
  101.     public function isTraitable()
  102.     {
  103.         return false;
  104.     }
  105.     public function getDebugInfo()
  106.     {
  107.         return array (  98 => 26,  95 => 25,  93 => 20,  84 => 14,  75 => 8,  70 => 5,  60 => 4,  37 => 2,);
  108.     }
  109.     public function getSourceContext()
  110.     {
  111.         return new Source("
  112. {% extends 'layout.html.twig' %}
  113. {% block content %}
  114.     <section class=\"section-intro\">
  115.         <div class=\"container-fluid\">
  116.             <h1>{{ pimcore_input(\"introTitle\", {'placeholder': 'Intro titel ...'}) }}</h1>
  117.         </div><!--/ .container-fluid -->
  118.     </section>
  119.     <main class=\"main\">
  120.         <section class=\"section-content\">
  121.             {{ pimcore_areablock(\"contentAreaBlock\") }}
  122.             <div class=\"content-block\">
  123.                 <div class=\"container\">
  124.                     <div class=\"row justify-content-center\">
  125.                         <div class=\"col-xl-10\">
  126.                             {% set config = {
  127.                                 'form_id': 2,
  128.                                 'form_template': 'bootstrap_4_layout.html.twig',
  129.                                 'output_workflow': 'RequestAccountWorkflow'
  130.                             } %}
  131.                             {{ form_builder_static(config) }}
  132.                         </div>
  133.                     </div><!--/ .row -->
  134.                 </div><!--/ .container -->
  135.             </div><!--/ .content-block -->
  136.         </section>
  137.     </main>
  138.     
  139. {% endblock %}", "request-account.html.twig", "/data/sites/web/devliegerfilipbe/subsites/dev.devliegerfilip.dspdev.be/templates/request-account.html.twig");
  140.     }
  141.     
  142.     public function checkSecurity()
  143.     {
  144.         static $tags = array("set" => 20);
  145.         static $filters = array();
  146.         static $functions = array("pimcore_input" => 8, "pimcore_areablock" => 14, "form_builder_static" => 26);
  147.         try {
  148.             $this->sandbox->checkSecurity(
  149.                 ['set'],
  150.                 [],
  151.                 ['pimcore_input', 'pimcore_areablock', 'form_builder_static']
  152.             );
  153.         } catch (SecurityError $e) {
  154.             $e->setSourceContext($this->source);
  155.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  156.                 $e->setTemplateLine($tags[$e->getTagName()]);
  157.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  158.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  159.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  160.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  161.             }
  162.             throw $e;
  163.         }
  164.     }
  165. }