var/cache/dev/twig/34/34e817d6ae5a94e18da7de007470cbcb.php line 53

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* register.html.twig */
  16. class __TwigTemplate_d3f977a260fd113f609490ccd475ca3b extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'body' => [$this'block_body'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  32.     {
  33.         // line 1
  34.         return "base.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = []): iterable
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""register.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""register.html.twig"));
  43.         $this->parent $this->loadTemplate("base.html.twig""register.html.twig"1);
  44.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 3
  51.     /**
  52.      * @return iterable<null|scalar|\Stringable>
  53.      */
  54.     public function block_body(array $context, array $blocks = []): iterable
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  61.         // line 4
  62.         yield "    <div class=\"boldr-shop-account-page\">
  63.         <span class=\"boldr-shop-account-page-heading\">Account maken</span>
  64.         <div class=\"boldr-shop-account-page-content\">
  65.             <div class=\"boldr-shop-account-section\">
  66.                 <span class=\"boldr-shop-account-section-heading\">Gegevens</span>
  67.                 ";
  68.         // line 9
  69.         yield         $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.'9$this->source); })()), 'form_start');
  70.         yield "
  71.                     ";
  72.         // line 10
  73.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'10$this->source); })()), 'errors');
  74.         yield "
  75.                     <div class=\"form-group-row\">
  76.                         ";
  77.         // line 13
  78.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'13$this->source); })()), "personalDetails", [], "any"falsefalsefalse13), "firstName", [], "any"falsefalsefalse13), 'row');
  79.         yield "
  80.                         ";
  81.         // line 14
  82.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'14$this->source); })()), "personalDetails", [], "any"falsefalsefalse14), "lastName", [], "any"falsefalsefalse14), 'row');
  83.         yield "
  84.                     </div>
  85.                     ";
  86.         // line 17
  87.         $context['_parent'] = $context;
  88.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'17$this->source); })()));
  89.         foreach ($context['_seq'] as $context["_key"] => $context["field"]) {
  90.             // line 18
  91.             yield "                        ";
  92.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["field"], 'row', ["attr" => ["class" => "form-row"]]);
  93.             yield "
  94.                     ";
  95.         }
  96.         $_parent $context['_parent'];
  97.         unset($context['_seq'], $context['_key'], $context['field'], $context['_parent']);
  98.         $context array_intersect_key($context$_parent) + $_parent;
  99.         // line 20
  100.         yield "
  101.                     <button type=\"submit\" class=\"boldr-button boldr-button-filled boldr-button-medium\">Account aanmaken</button>
  102.                 ";
  103.         // line 22
  104.         yield         $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.'22$this->source); })()), 'form_end');
  105.         yield "
  106.             </div>
  107.         </div>
  108.     </div>
  109. ";
  110.         
  111.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  112.         
  113.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  114.         yield from [];
  115.     }
  116.     /**
  117.      * @codeCoverageIgnore
  118.      */
  119.     public function getTemplateName(): string
  120.     {
  121.         return "register.html.twig";
  122.     }
  123.     /**
  124.      * @codeCoverageIgnore
  125.      */
  126.     public function isTraitable(): bool
  127.     {
  128.         return false;
  129.     }
  130.     /**
  131.      * @codeCoverageIgnore
  132.      */
  133.     public function getDebugInfo(): array
  134.     {
  135.         return array (  120 => 22,  116 => 20,  107 => 18,  103 => 17,  97 => 14,  93 => 13,  87 => 10,  83 => 9,  76 => 4,  63 => 3,  40 => 1,);
  136.     }
  137.     public function getSourceContext(): Source
  138.     {
  139.         return new Source("{% extends 'base.html.twig' %}
  140. {% block body %}
  141.     <div class=\"boldr-shop-account-page\">
  142.         <span class=\"boldr-shop-account-page-heading\">Account maken</span>
  143.         <div class=\"boldr-shop-account-page-content\">
  144.             <div class=\"boldr-shop-account-section\">
  145.                 <span class=\"boldr-shop-account-section-heading\">Gegevens</span>
  146.                 {{ form_start(form) }}
  147.                     {{ form_errors(form) }}
  148.                     <div class=\"form-group-row\">
  149.                         {{ form_row(form.personalDetails.firstName) }}
  150.                         {{ form_row(form.personalDetails.lastName) }}
  151.                     </div>
  152.                     {% for field in form %}
  153.                         {{ form_row(field, { attr: { class: 'form-row' } }) }}
  154.                     {% endfor %}
  155.                     <button type=\"submit\" class=\"boldr-button boldr-button-filled boldr-button-medium\">Account aanmaken</button>
  156.                 {{ form_end(form) }}
  157.             </div>
  158.         </div>
  159.     </div>
  160. {% endblock %}
  161. ""register.html.twig""/home/boldrdev/sites/hb/app/templates/register.html.twig");
  162.     }
  163. }