var/cache/dev/twig/3a/3aa1524941be60d259de08c5614ca938.php line 38

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. /* account/register.html.twig */
  14. class __TwigTemplate_13048e34b4eac24e9426d027b40706b1 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.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "layouts/layout.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""account/register.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""account/register.html.twig"));
  38.         // line 2
  39.         $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);
  40.         // line 1
  41.         $this->parent $this->loadTemplate("layouts/layout.html.twig""account/register.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 5
  49.     public function block_content($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  56.         // line 6
  57.         echo "
  58.     <div class=\"container\">
  59.         <div class=\"mb-5 d-flex justify-content-center\">
  60.             <div class=\"col-12 col-md-6\">
  61.             ";
  62.         // line 14
  63.         if ((isset($context["errors"]) || array_key_exists("errors"$context) ? $context["errors"] : (function () { throw new RuntimeError('Variable "errors" does not exist.'14$this->source); })())) {
  64.             // line 15
  65.             echo "                ";
  66.             $context['_parent'] = $context;
  67.             $context['_seq'] = twig_ensure_traversable((isset($context["errors"]) || array_key_exists("errors"$context) ? $context["errors"] : (function () { throw new RuntimeError('Variable "errors" does not exist.'15$this->source); })()));
  68.             foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  69.                 // line 16
  70.                 echo "                    <div class=\"alert alert-danger\">
  71.                         ";
  72.                 // line 17
  73.                 echo $context["error"];
  74.                 echo "
  75.                     </div>
  76.                 ";
  77.             }
  78.             $_parent $context['_parent'];
  79.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  80.             $context array_intersect_key($context$_parent) + $_parent;
  81.             // line 20
  82.             echo "            ";
  83.         }
  84.         // line 21
  85.         echo "
  86.             <h1 class=\"display-3 mb-3 font-weight-normal\">";
  87.         // line 22
  88.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.register"), "html"nulltrue);
  89.         echo "</h1>
  90.             ";
  91.         // line 24
  92.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'24$this->source); })()), 'form');
  93.         echo "
  94.             </div>
  95.         </div>
  96.     </div>
  97. ";
  98.         
  99.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  100.         
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  102.     }
  103.     public function getTemplateName()
  104.     {
  105.         return "account/register.html.twig";
  106.     }
  107.     public function isTraitable()
  108.     {
  109.         return false;
  110.     }
  111.     public function getDebugInfo()
  112.     {
  113.         return array (  111 => 24,  106 => 22,  103 => 21,  100 => 20,  91 => 17,  88 => 16,  83 => 15,  81 => 14,  71 => 6,  61 => 5,  50 => 1,  48 => 2,  35 => 1,);
  114.     }
  115.     public function getSourceContext()
  116.     {
  117.         return new Source("{% extends 'layouts/layout.html.twig' %}
  118. {% form_theme form 'bootstrap_4_layout.html.twig' %}
  119. {% block content %}
  120.     <div class=\"container\">
  121.         <div class=\"mb-5 d-flex justify-content-center\">
  122.             <div class=\"col-12 col-md-6\">
  123.             {% if errors %}
  124.                 {% for error in errors %}
  125.                     <div class=\"alert alert-danger\">
  126.                         {{ error | raw }}
  127.                     </div>
  128.                 {% endfor %}
  129.             {% endif %}
  130.             <h1 class=\"display-3 mb-3 font-weight-normal\">{{ 'general.register' | trans }}</h1>
  131.             {{ form(form) }}
  132.             </div>
  133.         </div>
  134.     </div>
  135. {% endblock %}""account/register.html.twig""/www/htdocs/w0189996/pimcore-demo/templates/account/register.html.twig");
  136.     }
  137. }