var/cache/dev/twig/d1/d1f9fa761ca40b62120f0652a9994cd0.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. /* contact/klantenkaart.html.twig */
  14. class __TwigTemplate_7bdfb41c3aea3c15a7130c08c6b0be37 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 $this->loadTemplate($this->extensions['App\Twig\Extension\WebsiteExtension']->getBaseLayout(), "contact/klantenkaart.html.twig"1);
  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""contact/klantenkaart.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""contact/klantenkaart.html.twig"));
  40.         // line 3
  41.         if (( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'3$this->source); })()) && array_key_exists("recaptcha"$context))) {
  42.             // line 4
  43.             if (((isset($context["recaptcha"]) || array_key_exists("recaptcha"$context) ? $context["recaptcha"] : (function () { throw new RuntimeError('Variable "recaptcha" does not exist.'4$this->source); })()) == 2)) {
  44.                 // line 5
  45.                 twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> "https://www.google.com/recaptcha/api.js"], "method"falsefalsetrue5);
  46.             } elseif ((            // line 6
  47. (isset($context["recaptcha"]) || array_key_exists("recaptcha"$context) ? $context["recaptcha"] : (function () { throw new RuntimeError('Variable "recaptcha" does not exist.'6$this->source); })()) == 3)) {
  48.                 // line 7
  49.                 twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> ("https://www.google.com/recaptcha/api.js?render=" . (isset($context["recaptchaPublic"]) || array_key_exists("recaptchaPublic"$context) ? $context["recaptchaPublic"] : (function () { throw new RuntimeError('Variable "recaptchaPublic" does not exist.'7$this->source); })()))], "method"falsefalsetrue7);
  50.             }
  51.         }
  52.         // line 1
  53.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  54.         
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  56.         
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  58.     }
  59.     // line 11
  60.     public function block_content($context, array $blocks = [])
  61.     {
  62.         $macros $this->macros;
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  67.         // line 12
  68.         echo "    <div class=\"container mb-5\">
  69.         ";
  70.         // line 14
  71.         echo twig_include($this->env$context"includes/title.html.twig");
  72.         echo "
  73.         ";
  74.         // line 17
  75.         echo "        ";
  76.         $context['_parent'] = $context;
  77.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'17$this->source); })()), "flashes", [=> [=> "success"=> "warning"]], "method"falsefalsetrue17));
  78.         foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
  79.             // line 18
  80.             echo "            ";
  81.             $context['_parent'] = $context;
  82.             $context['_seq'] = twig_ensure_traversable($context["messages"]);
  83.             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  84.                 // line 19
  85.                 echo "                <div id=\"messages\"  class=\"flash-";
  86.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["label"], 19$this->source), "html"nulltrue);
  87.                 echo "\">
  88.                     ";
  89.                 // line 20
  90.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["message"], 20$this->source), "html"nulltrue);
  91.                 echo "
  92.                 </div>
  93.             ";
  94.             }
  95.             $_parent $context['_parent'];
  96.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  97.             $context array_intersect_key($context$_parent) + $_parent;
  98.             // line 23
  99.             echo "        ";
  100.         }
  101.         $_parent $context['_parent'];
  102.         unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
  103.         $context array_intersect_key($context$_parent) + $_parent;
  104.         // line 24
  105.         echo "
  106.         <section id=\"contactcontainer\">
  107.             ";
  108.         // line 26
  109.         if ((isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'26$this->source); })())) {
  110.             // line 27
  111.             echo "                ";
  112.             $context["geenKlantenkaart"] = twig_get_attribute($this->env$this->source, (isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'27$this->source); })()), "getKlantenkaart", [], "method"falsefalsetrue27);
  113.             // line 28
  114.             echo "            ";
  115.         } else {
  116.             // line 29
  117.             echo "                ";
  118.             $context["geenKlantenkaart"] = false;
  119.             // line 30
  120.             echo "            ";
  121.         }
  122.         // line 31
  123.         echo "
  124.             ";
  125.         // line 32
  126.         if ((isset($context["geenKlantenkaart"]) || array_key_exists("geenKlantenkaart"$context) ? $context["geenKlantenkaart"] : (function () { throw new RuntimeError('Variable "geenKlantenkaart" does not exist.'32$this->source); })())) {
  127.             // line 33
  128.             echo "                <div class=\"row\">
  129.                     <div class=\"col-12\">
  130.                         <div class=\"alert alert-success\" role=\"alert\">
  131.                             ";
  132.             // line 36
  133.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Klantenkaart reeds aangemaakt."), "html"nulltrue);
  134.             echo "
  135.                         </div>
  136.                     </div>
  137.                 </div>
  138.             ";
  139.         }
  140.         // line 41
  141.         echo "
  142.             ";
  143.         // line 42
  144.         if (( !(isset($context["success"]) || array_key_exists("success"$context) ? $context["success"] : (function () { throw new RuntimeError('Variable "success" does not exist.'42$this->source); })()) &&  !(isset($context["geenKlantenkaart"]) || array_key_exists("geenKlantenkaart"$context) ? $context["geenKlantenkaart"] : (function () { throw new RuntimeError('Variable "geenKlantenkaart" does not exist.'42$this->source); })()))) {
  145.             // line 43
  146.             echo "
  147.                 ";
  148.             // line 44
  149.             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.'44$this->source); })()), 44$this->source), 'form_start');
  150.             echo "
  151.                 <div class=\"row mb-3\">
  152.                     <div class=\"col-6\">
  153.                         ";
  154.             // line 48
  155.             echo "                        ";
  156.             if ((isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'48$this->source); })())) {
  157.                 // line 49
  158.                 echo "                            ";
  159.                 $context["voornaam"] = twig_get_attribute($this->env$this->source, (isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'49$this->source); })()), "getVoornaam", [], "method"falsefalsetrue49);
  160.                 // line 50
  161.                 echo "                        ";
  162.             } else {
  163.                 // line 51
  164.                 echo "                            ";
  165.                 $context["voornaam"] = "";
  166.                 // line 52
  167.                 echo "                        ";
  168.             }
  169.             // line 53
  170.             echo "                        <div class=\"form-floating\">
  171.                             ";
  172.             // line 55
  173.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'55$this->source); })()), "firstname", [], "any"falsefalsetrue55), 55$this->source), 'widget', ["attr" => ["class" => "form-control""placeholder" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'55$this->source); })()), "firstname", [], "any"falsefalsetrue55), "vars", [], "any"falsefalsetrue55), "label", [], "any"falsefalsetrue55)], "value" => (isset($context["voornaam"]) || array_key_exists("voornaam"$context) ? $context["voornaam"] : (function () { throw new RuntimeError('Variable "voornaam" does not exist.'55$this->source); })())]);
  174.             echo "
  175.                             ";
  176.             // line 56
  177.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'56$this->source); })()), "firstname", [], "any"falsefalsetrue56), 56$this->source), 'label', ["label_attr" => ["class" => "form-label"]]);
  178.             echo "</div>
  179.                         <div id=\"firstnameHelp\" class=\"form-text\">";
  180.             // line 58
  181.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'58$this->source); })()), "firstname", [], "any"falsefalsetrue58), 58$this->source), 'help');
  182.             echo "</div>
  183.                         <div class=\"form-error\">
  184.                             ";
  185.             // line 61
  186.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'61$this->source); })()), "firstname", [], "any"falsefalsetrue61), 61$this->source), 'errors');
  187.             echo "
  188.                         </div>
  189.                     </div>
  190.                     <div class=\"col-6\">
  191.                         ";
  192.             // line 65
  193.             if ((isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'65$this->source); })())) {
  194.                 // line 66
  195.                 echo "                            ";
  196.                 $context["naam"] = twig_get_attribute($this->env$this->source, (isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'66$this->source); })()), "getNaam", [], "method"falsefalsetrue66);
  197.                 // line 67
  198.                 echo "                        ";
  199.             } else {
  200.                 // line 68
  201.                 echo "                            ";
  202.                 $context["naam"] = "";
  203.                 // line 69
  204.                 echo "                        ";
  205.             }
  206.             // line 70
  207.             echo "                        ";
  208.             // line 71
  209.             echo "                        <div class=\"form-floating\">
  210.                             ";
  211.             // line 73
  212.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'73$this->source); })()), "lastname", [], "any"falsefalsetrue73), 73$this->source), 'widget', ["attr" => ["class" => "form-control""placeholder" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'73$this->source); })()), "lastname", [], "any"falsefalsetrue73), "vars", [], "any"falsefalsetrue73), "label", [], "any"falsefalsetrue73)], "value" => (isset($context["naam"]) || array_key_exists("naam"$context) ? $context["naam"] : (function () { throw new RuntimeError('Variable "naam" does not exist.'73$this->source); })())]);
  213.             echo "
  214.                             ";
  215.             // line 74
  216.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'74$this->source); })()), "lastname", [], "any"falsefalsetrue74), 74$this->source), 'label', ["label_attr" => ["class" => "form-label"]]);
  217.             echo "</div>
  218.                         <div id=\"lastnameHelp\" class=\"form-text\">";
  219.             // line 76
  220.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'76$this->source); })()), "lastname", [], "any"falsefalsetrue76), 76$this->source), 'help');
  221.             echo "</div>
  222.                         <div class=\"form-error\">
  223.                             ";
  224.             // line 79
  225.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'79$this->source); })()), "lastname", [], "any"falsefalsetrue79), 79$this->source), 'errors');
  226.             echo "
  227.                         </div>
  228.                     </div>
  229.                 </div>
  230.                 <div class=\"row mb-3\">
  231.                     <div class=\"col-8 col-lg-6\">
  232.                         ";
  233.             // line 86
  234.             if ((isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'86$this->source); })())) {
  235.                 // line 87
  236.                 echo "                            ";
  237.                 $context["street"] = twig_get_attribute($this->env$this->source, (isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'87$this->source); })()), "getAdres_straat", [], "method"falsefalsetrue87);
  238.                 // line 88
  239.                 echo "                        ";
  240.             } else {
  241.                 // line 89
  242.                 echo "                            ";
  243.                 $context["street"] = "";
  244.                 // line 90
  245.                 echo "                        ";
  246.             }
  247.             // line 91
  248.             echo "                        <div class=\"form-floating\">
  249.                             ";
  250.             // line 93
  251.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'93$this->source); })()), "street", [], "any"falsefalsetrue93), 93$this->source), 'widget', ["attr" => ["class" => "form-control""placeholder" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'93$this->source); })()), "street", [], "any"falsefalsetrue93), "vars", [], "any"falsefalsetrue93), "label", [], "any"falsefalsetrue93), "value" => (isset($context["street"]) || array_key_exists("street"$context) ? $context["street"] : (function () { throw new RuntimeError('Variable "street" does not exist.'93$this->source); })())]]);
  252.             echo "
  253.                             ";
  254.             // line 94
  255.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'94$this->source); })()), "street", [], "any"falsefalsetrue94), 94$this->source), 'label', ["label_attr" => ["class" => "form-label"]]);
  256.             echo "</div>
  257.                         <div id=\"streetHelp\" class=\"form-text\">";
  258.             // line 96
  259.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'96$this->source); })()), "street", [], "any"falsefalsetrue96), 96$this->source), 'help');
  260.             echo "</div>
  261.                         <div class=\"form-error\">
  262.                             ";
  263.             // line 99
  264.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'99$this->source); })()), "street", [], "any"falsefalsetrue99), 99$this->source), 'errors');
  265.             echo "
  266.                         </div>
  267.                     </div>
  268.                     <div class=\"col-4 col-lg-6\">
  269.                         ";
  270.             // line 103
  271.             if ((isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'103$this->source); })())) {
  272.                 // line 104
  273.                 echo "                            ";
  274.                 $context["streetnr"] = twig_get_attribute($this->env$this->source, (isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'104$this->source); })()), "getAdres_nr", [], "method"falsefalsetrue104);
  275.                 // line 105
  276.                 echo "                        ";
  277.             } else {
  278.                 // line 106
  279.                 echo "                            ";
  280.                 $context["streetnr"] = "";
  281.                 // line 107
  282.                 echo "                        ";
  283.             }
  284.             // line 108
  285.             echo "                        <div class=\"form-floating\">
  286.                             ";
  287.             // line 110
  288.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'110$this->source); })()), "streetnr", [], "any"falsefalsetrue110), 110$this->source), 'widget', ["attr" => ["class" => "form-control""placeholder" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'110$this->source); })()), "streetnr", [], "any"falsefalsetrue110), "vars", [], "any"falsefalsetrue110), "label", [], "any"falsefalsetrue110), "value" => (isset($context["streetnr"]) || array_key_exists("streetnr"$context) ? $context["streetnr"] : (function () { throw new RuntimeError('Variable "streetnr" does not exist.'110$this->source); })())]]);
  289.             echo "
  290.                             ";
  291.             // line 111
  292.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'111$this->source); })()), "streetnr", [], "any"falsefalsetrue111), 111$this->source), 'label', ["label_attr" => ["class" => "form-label"]]);
  293.             echo "</div>
  294.                         <div id=\"streetnrHelp\" class=\"form-text\">";
  295.             // line 113
  296.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'113$this->source); })()), "streetnr", [], "any"falsefalsetrue113), 113$this->source), 'help');
  297.             echo "</div>
  298.                         <div class=\"form-error\">
  299.                             ";
  300.             // line 116
  301.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'116$this->source); })()), "streetnr", [], "any"falsefalsetrue116), 116$this->source), 'errors');
  302.             echo "
  303.                         </div>
  304.                     </div>
  305.                 </div>
  306.                 <div class=\"row mb-3\">
  307.                     <div class=\"col-6\">
  308.                         ";
  309.             // line 123
  310.             if ((isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'123$this->source); })())) {
  311.                 // line 124
  312.                 echo "                            ";
  313.                 $context["postcode"] = twig_get_attribute($this->env$this->source, (isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'124$this->source); })()), "getAdres_postcode", [], "method"falsefalsetrue124);
  314.                 // line 125
  315.                 echo "                        ";
  316.             } else {
  317.                 // line 126
  318.                 echo "                            ";
  319.                 $context["postcode"] = "";
  320.                 // line 127
  321.                 echo "                        ";
  322.             }
  323.             // line 128
  324.             echo "                        <div class=\"form-floating\">
  325.                             ";
  326.             // line 130
  327.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'130$this->source); })()), "postcode", [], "any"falsefalsetrue130), 130$this->source), 'widget', ["attr" => ["class" => "form-control""placeholder" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'130$this->source); })()), "postcode", [], "any"falsefalsetrue130), "vars", [], "any"falsefalsetrue130), "label", [], "any"falsefalsetrue130), "value" => (isset($context["postcode"]) || array_key_exists("postcode"$context) ? $context["postcode"] : (function () { throw new RuntimeError('Variable "postcode" does not exist.'130$this->source); })())]]);
  328.             echo "
  329.                             ";
  330.             // line 131
  331.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'131$this->source); })()), "postcode", [], "any"falsefalsetrue131), 131$this->source), 'label', ["label_attr" => ["class" => "form-label"]]);
  332.             echo "</div>
  333.                         <div id=\"postcodeHelp\" class=\"form-text\">";
  334.             // line 133
  335.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'133$this->source); })()), "postcode", [], "any"falsefalsetrue133), 133$this->source), 'help');
  336.             echo "</div>
  337.                         <div class=\"form-error\">
  338.                             ";
  339.             // line 136
  340.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'136$this->source); })()), "postcode", [], "any"falsefalsetrue136), 136$this->source), 'errors');
  341.             echo "
  342.                         </div>
  343.                     </div>
  344.                     <div class=\"col-6\">
  345.                         ";
  346.             // line 140
  347.             if ((isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'140$this->source); })())) {
  348.                 // line 141
  349.                 echo "                            ";
  350.                 $context["city"] = twig_get_attribute($this->env$this->source, (isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'141$this->source); })()), "getAdres_stad", [], "method"falsefalsetrue141);
  351.                 // line 142
  352.                 echo "                        ";
  353.             } else {
  354.                 // line 143
  355.                 echo "                            ";
  356.                 $context["city"] = "";
  357.                 // line 144
  358.                 echo "                        ";
  359.             }
  360.             // line 145
  361.             echo "                        <div class=\"form-floating\">
  362.                             ";
  363.             // line 147
  364.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'147$this->source); })()), "city", [], "any"falsefalsetrue147), 147$this->source), 'widget', ["attr" => ["class" => "form-control""placeholder" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'147$this->source); })()), "city", [], "any"falsefalsetrue147), "vars", [], "any"falsefalsetrue147), "label", [], "any"falsefalsetrue147), "value" => (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'147$this->source); })())]]);
  365.             echo "
  366.                             ";
  367.             // line 148
  368.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'148$this->source); })()), "city", [], "any"falsefalsetrue148), 148$this->source), 'label', ["label_attr" => ["class" => "form-label"]]);
  369.             echo "</div>
  370.                         <div id=\"cityeHelp\" class=\"form-text\">";
  371.             // line 150
  372.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'150$this->source); })()), "city", [], "any"falsefalsetrue150), 150$this->source), 'help');
  373.             echo "</div>
  374.                         <div class=\"form-error\">
  375.                             ";
  376.             // line 153
  377.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'153$this->source); })()), "city", [], "any"falsefalsetrue153), 153$this->source), 'errors');
  378.             echo "
  379.                         </div>
  380.                     </div>
  381.                 </div>
  382.                 <div class=\"row mb-3\">
  383.                     <div class=\"col-6\">
  384.                         ";
  385.             // line 160
  386.             if ((isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'160$this->source); })())) {
  387.                 // line 161
  388.                 echo "                            ";
  389.                 $context["phone"] = twig_get_attribute($this->env$this->source, (isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'161$this->source); })()), "getTel", [], "method"falsefalsetrue161);
  390.                 // line 162
  391.                 echo "                        ";
  392.             } else {
  393.                 // line 163
  394.                 echo "                            ";
  395.                 $context["phone"] = "";
  396.                 // line 164
  397.                 echo "                        ";
  398.             }
  399.             // line 165
  400.             echo "                        <div class=\"form-floating\">
  401.                             ";
  402.             // line 167
  403.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'167$this->source); })()), "phone", [], "any"falsefalsetrue167), 167$this->source), 'widget', ["attr" => ["class" => "form-control""placeholder" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'167$this->source); })()), "phone", [], "any"falsefalsetrue167), "vars", [], "any"falsefalsetrue167), "label", [], "any"falsefalsetrue167), "value" => (isset($context["phone"]) || array_key_exists("phone"$context) ? $context["phone"] : (function () { throw new RuntimeError('Variable "phone" does not exist.'167$this->source); })())]]);
  404.             echo "
  405.                             ";
  406.             // line 168
  407.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'168$this->source); })()), "phone", [], "any"falsefalsetrue168), 168$this->source), 'label', ["label_attr" => ["class" => "form-label"]]);
  408.             echo "</div>
  409.                         <div id=\"phoneeHelp\" class=\"form-text\">";
  410.             // line 170
  411.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'170$this->source); })()), "phone", [], "any"falsefalsetrue170), 170$this->source), 'help');
  412.             echo "</div>
  413.                         <div class=\"form-error\">
  414.                             ";
  415.             // line 173
  416.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'173$this->source); })()), "phone", [], "any"falsefalsetrue173), 173$this->source), 'errors');
  417.             echo "
  418.                         </div>
  419.                     </div>
  420.                     <div class=\"col-6\">
  421.                         ";
  422.             // line 177
  423.             if ((isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'177$this->source); })())) {
  424.                 // line 178
  425.                 echo "                            ";
  426.                 $context["birthdate"] = twig_get_attribute($this->env$this->source, (isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'178$this->source); })()), "getGeboorte_datum", [], "method"falsefalsetrue178);
  427.                 // line 179
  428.                 echo "                        ";
  429.             } else {
  430.                 // line 180
  431.                 echo "                            ";
  432.                 $context["birthdate"] = "";
  433.                 // line 181
  434.                 echo "                        ";
  435.             }
  436.             // line 182
  437.             echo "                        <div class=\"form-floating\">
  438.                             ";
  439.             // line 184
  440.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'184$this->source); })()), "birthdate", [], "any"falsefalsetrue184), 184$this->source), 'widget', ["attr" => ["class" => "form-control""placeholder" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'184$this->source); })()), "birthdate", [], "any"falsefalsetrue184), "vars", [], "any"falsefalsetrue184), "label", [], "any"falsefalsetrue184), "value" => (isset($context["birthdate"]) || array_key_exists("birthdate"$context) ? $context["birthdate"] : (function () { throw new RuntimeError('Variable "birthdate" does not exist.'184$this->source); })())]]);
  441.             echo "
  442.                             ";
  443.             // line 185
  444.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'185$this->source); })()), "birthdate", [], "any"falsefalsetrue185), 185$this->source), 'label', ["label_attr" => ["class" => "form-label"]]);
  445.             echo "</div>
  446.                         <div id=\"birthdateHelp\" class=\"form-text\">";
  447.             // line 187
  448.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'187$this->source); })()), "birthdate", [], "any"falsefalsetrue187), 187$this->source), 'help');
  449.             echo "</div>
  450.                         <div class=\"form-error\">
  451.                             ";
  452.             // line 190
  453.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'190$this->source); })()), "birthdate", [], "any"falsefalsetrue190), 190$this->source), 'errors');
  454.             echo "
  455.                         </div>
  456.                     </div>
  457.                 </div>
  458.                 <div class=\"row mb-3\">
  459.                     <div class=\"col-12\">
  460.                         ";
  461.             // line 199
  462.             if ((isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'199$this->source); })())) {
  463.                 // line 200
  464.                 echo "                            ";
  465.                 $context["email"] = twig_get_attribute($this->env$this->source, (isset($context["userObject"]) || array_key_exists("userObject"$context) ? $context["userObject"] : (function () { throw new RuntimeError('Variable "userObject" does not exist.'200$this->source); })()), "getEmail", [], "method"falsefalsetrue200);
  466.                 // line 201
  467.                 echo "                        ";
  468.             } else {
  469.                 // line 202
  470.                 echo "                            ";
  471.                 $context["email"] = "";
  472.                 // line 203
  473.                 echo "                        ";
  474.             }
  475.             // line 204
  476.             echo "                        <div class=\"form-floating\">
  477.                             ";
  478.             // line 206
  479.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'206$this->source); })()), "email", [], "any"falsefalsetrue206), 206$this->source), 'widget', ["attr" => ["class" => "form-control""placeholder" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'206$this->source); })()), "email", [], "any"falsefalsetrue206), "vars", [], "any"falsefalsetrue206), "label", [], "any"falsefalsetrue206), "value" => (isset($context["email"]) || array_key_exists("email"$context) ? $context["email"] : (function () { throw new RuntimeError('Variable "email" does not exist.'206$this->source); })())]]);
  480.             echo "
  481.                             ";
  482.             // line 207
  483.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'207$this->source); })()), "email", [], "any"falsefalsetrue207), 207$this->source), 'label', ["label_attr" => ["class" => "form-label"]]);
  484.             echo "</div>
  485.                         <div id=\"emailHelp\" class=\"form-text\">";
  486.             // line 209
  487.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'209$this->source); })()), "email", [], "any"falsefalsetrue209), 209$this->source), 'help');
  488.             echo "</div>
  489.                         <div class=\"form-error\">
  490.                             ";
  491.             // line 212
  492.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'212$this->source); })()), "email", [], "any"falsefalsetrue212), 212$this->source), 'errors');
  493.             echo "
  494.                         </div>
  495.                     </div>
  496.                 </div>
  497.                 ";
  498.             // line 217
  499.             if (( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'217$this->source); })()) && array_key_exists("recaptcha"$context))) {
  500.                 // line 218
  501.                 echo "                    ";
  502.                 if (((isset($context["recaptcha"]) || array_key_exists("recaptcha"$context) ? $context["recaptcha"] : (function () { throw new RuntimeError('Variable "recaptcha" does not exist.'218$this->source); })()) == 2)) {
  503.                     // line 219
  504.                     echo "                        <div class=\"form-group\">
  505.                             <div class=\"g-recaptcha\" data-sitekey=\"";
  506.                     // line 220
  507.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["recaptchaPublic"]) || array_key_exists("recaptchaPublic"$context) ? $context["recaptchaPublic"] : (function () { throw new RuntimeError('Variable "recaptchaPublic" does not exist.'220$this->source); })()), 220$this->source), "html"nulltrue);
  508.                     echo "\"></div>
  509.                         </div>
  510.                     ";
  511.                 } elseif ((                // line 222
  512. (isset($context["recaptcha"]) || array_key_exists("recaptcha"$context) ? $context["recaptcha"] : (function () { throw new RuntimeError('Variable "recaptcha" does not exist.'222$this->source); })()) == 3)) {
  513.                     // line 223
  514.                     echo "                        <input type=\"hidden\" name=\"gtoken\" id=\"gtoken\">
  515.                     ";
  516.                 }
  517.                 // line 225
  518.                 echo "                ";
  519.             }
  520.             // line 226
  521.             echo "
  522.                 ";
  523.             // line 228
  524.             echo "                <div class=\"col-12 form-check\">
  525.                     ";
  526.             // line 229
  527.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'229$this->source); })()), "conditions", [], "any"falsefalsetrue229), 229$this->source), 'widget', ["attr" => ["class" => "form-check-input"]]);
  528.             echo "
  529.                     ";
  530.             // line 230
  531.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'230$this->source); })()), "conditions", [], "any"falsefalsetrue230), 230$this->source), 'label', ["label_attr" => ["class" => "form-check-label"]]);
  532.             echo "
  533.                     <a href=\"";
  534.             // line 232
  535.             if ($this->extensions['App\Twig\Extension\CheckwebsiteSettingExtension']->getCheckWebsitesetting("privacy_document""document")) {
  536.                 echo twig_escape_filter($this->env$this->extensions['MultilingualBundle\Twig\Extension\InotherlangExtension']->getInotherlang("LocalizedDocument"$this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("privacy_document")), "html"nulltrue);
  537.             }
  538.             echo "\" target=\"_blank\">
  539.                         ";
  540.             // line 233
  541.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ik ga akkoord met privacy"), "html"nulltrue);
  542.             echo "
  543.                     </a>
  544.                     <div id=\"conditionsHelp\" class=\"form-text\">";
  545.             // line 236
  546.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'236$this->source); })()), "conditions", [], "any"falsefalsetrue236), 236$this->source), 'help');
  547.             echo "</div>
  548.                     <div class=\"form-error\">
  549.                         ";
  550.             // line 239
  551.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'239$this->source); })()), "conditions", [], "any"falsefalsetrue239), 239$this->source), 'errors');
  552.             echo "
  553.                     </div>
  554.                 </div>
  555.                 ";
  556.             // line 243
  557.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'243$this->source); })()), "submit", [], "any"falsefalsetrue243), 243$this->source), 'row', ["attr" => ["class" => "btn btn-primary mt-3"]]);
  558.             echo "
  559.                 ";
  560.             // line 245
  561.             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.'245$this->source); })()), 245$this->source), 'form_end');
  562.             echo "
  563.             ";
  564.         }
  565.         // line 248
  566.         echo "        </section>
  567.     </div>
  568.     ";
  569.         // line 263
  570.         echo "
  571.     ";
  572.         // line 264
  573.         if ((( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'264$this->source); })()) && ((isset($context["recaptcha"]) || array_key_exists("recaptcha"$context) ? $context["recaptcha"] : (function () { throw new RuntimeError('Variable "recaptcha" does not exist.'264$this->source); })()) == 3)) && (twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'264$this->source); })()), "flashes", [=> [=> "success"]], "method"falsefalsetrue264), "success", [], "any"falsefalsetrue264)) || twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'264$this->source); })()), "flashes", [=> [=> "warning"]], "method"falsefalsetrue264), "warning", [], "any"falsefalsetrue264))))) {
  574.             // line 265
  575.             echo "        <script>
  576.             function getReCaptcha(){
  577.                 grecaptcha.ready(function () {
  578.                     grecaptcha.execute('";
  579.             // line 268
  580.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["recaptchaPublic"]) || array_key_exists("recaptchaPublic"$context) ? $context["recaptchaPublic"] : (function () { throw new RuntimeError('Variable "recaptchaPublic" does not exist.'268$this->source); })()), 268$this->source), "html"nulltrue);
  581.             echo "', { action: 'contact' }).then(function (token) {
  582.                         var recaptchaResponse = document.getElementById('gtoken');
  583.                         recaptchaResponse.value = token;
  584.                     });
  585.                 });
  586.             }
  587.             getReCaptcha();  // This is the initial call
  588.             setInterval(function(){getReCaptcha();}, 60000);
  589.         </script>
  590.     ";
  591.         }
  592.         // line 278
  593.         echo "
  594. ";
  595.         
  596.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  597.         
  598.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  599.     }
  600.     public function getTemplateName()
  601.     {
  602.         return "contact/klantenkaart.html.twig";
  603.     }
  604.     public function isTraitable()
  605.     {
  606.         return false;
  607.     }
  608.     public function getDebugInfo()
  609.     {
  610.         return array (  650 => 278,  637 => 268,  632 => 265,  630 => 264,  627 => 263,  622 => 248,  616 => 245,  611 => 243,  604 => 239,  598 => 236,  592 => 233,  586 => 232,  581 => 230,  577 => 229,  574 => 228,  571 => 226,  568 => 225,  564 => 223,  562 => 222,  557 => 220,  554 => 219,  551 => 218,  549 => 217,  541 => 212,  535 => 209,  530 => 207,  526 => 206,  522 => 204,  519 => 203,  516 => 202,  513 => 201,  510 => 200,  508 => 199,  496 => 190,  490 => 187,  485 => 185,  481 => 184,  477 => 182,  474 => 181,  471 => 180,  468 => 179,  465 => 178,  463 => 177,  456 => 173,  450 => 170,  445 => 168,  441 => 167,  437 => 165,  434 => 164,  431 => 163,  428 => 162,  425 => 161,  423 => 160,  413 => 153,  407 => 150,  402 => 148,  398 => 147,  394 => 145,  391 => 144,  388 => 143,  385 => 142,  382 => 141,  380 => 140,  373 => 136,  367 => 133,  362 => 131,  358 => 130,  354 => 128,  351 => 127,  348 => 126,  345 => 125,  342 => 124,  340 => 123,  330 => 116,  324 => 113,  319 => 111,  315 => 110,  311 => 108,  308 => 107,  305 => 106,  302 => 105,  299 => 104,  297 => 103,  290 => 99,  284 => 96,  279 => 94,  275 => 93,  271 => 91,  268 => 90,  265 => 89,  262 => 88,  259 => 87,  257 => 86,  247 => 79,  241 => 76,  236 => 74,  232 => 73,  228 => 71,  226 => 70,  223 => 69,  220 => 68,  217 => 67,  214 => 66,  212 => 65,  205 => 61,  199 => 58,  194 => 56,  190 => 55,  186 => 53,  183 => 52,  180 => 51,  177 => 50,  174 => 49,  171 => 48,  165 => 44,  162 => 43,  160 => 42,  157 => 41,  149 => 36,  144 => 33,  142 => 32,  139 => 31,  136 => 30,  133 => 29,  130 => 28,  127 => 27,  125 => 26,  121 => 24,  115 => 23,  106 => 20,  101 => 19,  96 => 18,  91 => 17,  86 => 14,  82 => 12,  72 => 11,  62 => 1,  58 => 7,  56 => 6,  54 => 5,  52 => 4,  50 => 3,  37 => 1,);
  611.     }
  612.     public function getSourceContext()
  613.     {
  614.         return new Source("{% extends base_layout() %}
  615. {% if not editmode and recaptcha is defined %}
  616.     {% if recaptcha == 2 %}
  617.         {% do pimcore_head_script().appendFile('https://www.google.com/recaptcha/api.js') %}
  618.     {% elseif recaptcha == 3 %}
  619.         {% do pimcore_head_script().appendFile('https://www.google.com/recaptcha/api.js?render=' ~ recaptchaPublic) %}
  620.     {% endif %}
  621. {% endif %}
  622. {% block content %}
  623.     <div class=\"container mb-5\">
  624.         {{ include('includes/title.html.twig') }}
  625.         {# read and display several types of flash messages #}
  626.         {% for label, messages in app.flashes(['success', 'warning']) %}
  627.             {% for message in messages %}
  628.                 <div id=\"messages\"  class=\"flash-{{ label }}\">
  629.                     {{ message }}
  630.                 </div>
  631.             {% endfor %}
  632.         {% endfor %}
  633.         <section id=\"contactcontainer\">
  634.             {% if userObject %}
  635.                 {% set geenKlantenkaart = userObject.getKlantenkaart() %}
  636.             {% else %}
  637.                 {% set geenKlantenkaart = false %}
  638.             {% endif %}
  639.             {% if geenKlantenkaart %}
  640.                 <div class=\"row\">
  641.                     <div class=\"col-12\">
  642.                         <div class=\"alert alert-success\" role=\"alert\">
  643.                             {{ \"Klantenkaart reeds aangemaakt.\"|trans }}
  644.                         </div>
  645.                     </div>
  646.                 </div>
  647.             {% endif %}
  648.             {% if not success and not geenKlantenkaart %}
  649.                 {{ form_start(form) }}
  650.                 <div class=\"row mb-3\">
  651.                     <div class=\"col-6\">
  652.                         {# {{ form_row(form.firstname) }}#}
  653.                         {% if userObject %}
  654.                             {% set voornaam = userObject.getVoornaam() %}
  655.                         {% else %}
  656.                             {% set voornaam = '' %}
  657.                         {% endif %}
  658.                         <div class=\"form-floating\">
  659.                             {{ form_widget(form.firstname, {'attr': {'class': 'form-control', 'placeholder': form.firstname.vars.label}, 'value': voornaam }) }}
  660.                             {{ form_label(form.firstname, null, {'label_attr': {'class': 'form-label'}}) }}</div>
  661.                         <div id=\"firstnameHelp\" class=\"form-text\">{{ form_help(form.firstname) }}</div>
  662.                         <div class=\"form-error\">
  663.                             {{ form_errors(form.firstname) }}
  664.                         </div>
  665.                     </div>
  666.                     <div class=\"col-6\">
  667.                         {% if userObject %}
  668.                             {% set naam = userObject.getNaam() %}
  669.                         {% else %}
  670.                             {% set naam = '' %}
  671.                         {% endif %}
  672.                         {# {{ form_row(form.lastname) }}#}
  673.                         <div class=\"form-floating\">
  674.                             {{ form_widget(form.lastname, {'attr': {'class': 'form-control', 'placeholder': form.lastname.vars.label }, 'value': naam}) }}
  675.                             {{ form_label(form.lastname, null, {'label_attr': {'class': 'form-label'}}) }}</div>
  676.                         <div id=\"lastnameHelp\" class=\"form-text\">{{ form_help(form.lastname) }}</div>
  677.                         <div class=\"form-error\">
  678.                             {{ form_errors(form.lastname) }}
  679.                         </div>
  680.                     </div>
  681.                 </div>
  682.                 <div class=\"row mb-3\">
  683.                     <div class=\"col-8 col-lg-6\">
  684.                         {% if userObject %}
  685.                             {% set street = userObject.getAdres_straat() %}
  686.                         {% else %}
  687.                             {% set street = '' %}
  688.                         {% endif %}
  689.                         <div class=\"form-floating\">
  690.                             {{ form_widget(form.street, {'attr': {'class': 'form-control', 'placeholder': form.street.vars.label, 'value': street}}) }}
  691.                             {{ form_label(form.street, null, {'label_attr': {'class': 'form-label'}}) }}</div>
  692.                         <div id=\"streetHelp\" class=\"form-text\">{{ form_help(form.street) }}</div>
  693.                         <div class=\"form-error\">
  694.                             {{ form_errors(form.street) }}
  695.                         </div>
  696.                     </div>
  697.                     <div class=\"col-4 col-lg-6\">
  698.                         {% if userObject %}
  699.                             {% set streetnr = userObject.getAdres_nr() %}
  700.                         {% else %}
  701.                             {% set streetnr = '' %}
  702.                         {% endif %}
  703.                         <div class=\"form-floating\">
  704.                             {{ form_widget(form.streetnr, {'attr': {'class': 'form-control', 'placeholder': form.streetnr.vars.label, 'value': streetnr}}) }}
  705.                             {{ form_label(form.streetnr, null, {'label_attr': {'class': 'form-label'}}) }}</div>
  706.                         <div id=\"streetnrHelp\" class=\"form-text\">{{ form_help(form.streetnr) }}</div>
  707.                         <div class=\"form-error\">
  708.                             {{ form_errors(form.streetnr) }}
  709.                         </div>
  710.                     </div>
  711.                 </div>
  712.                 <div class=\"row mb-3\">
  713.                     <div class=\"col-6\">
  714.                         {% if userObject %}
  715.                             {% set postcode = userObject.getAdres_postcode() %}
  716.                         {% else %}
  717.                             {% set postcode = '' %}
  718.                         {% endif %}
  719.                         <div class=\"form-floating\">
  720.                             {{ form_widget(form.postcode, {'attr': {'class': 'form-control', 'placeholder': form.postcode.vars.label, 'value': postcode}}) }}
  721.                             {{ form_label(form.postcode, null, {'label_attr': {'class': 'form-label'}}) }}</div>
  722.                         <div id=\"postcodeHelp\" class=\"form-text\">{{ form_help(form.postcode) }}</div>
  723.                         <div class=\"form-error\">
  724.                             {{ form_errors(form.postcode) }}
  725.                         </div>
  726.                     </div>
  727.                     <div class=\"col-6\">
  728.                         {% if userObject %}
  729.                             {% set city = userObject.getAdres_stad() %}
  730.                         {% else %}
  731.                             {% set city = '' %}
  732.                         {% endif %}
  733.                         <div class=\"form-floating\">
  734.                             {{ form_widget(form.city, {'attr': {'class': 'form-control', 'placeholder': form.city.vars.label, 'value': city}}) }}
  735.                             {{ form_label(form.city, null, {'label_attr': {'class': 'form-label'}}) }}</div>
  736.                         <div id=\"cityeHelp\" class=\"form-text\">{{ form_help(form.city) }}</div>
  737.                         <div class=\"form-error\">
  738.                             {{ form_errors(form.city) }}
  739.                         </div>
  740.                     </div>
  741.                 </div>
  742.                 <div class=\"row mb-3\">
  743.                     <div class=\"col-6\">
  744.                         {% if userObject %}
  745.                             {% set phone = userObject.getTel() %}
  746.                         {% else %}
  747.                             {% set phone = '' %}
  748.                         {% endif %}
  749.                         <div class=\"form-floating\">
  750.                             {{ form_widget(form.phone, {'attr': {'class': 'form-control', 'placeholder': form.phone.vars.label, 'value': phone}}) }}
  751.                             {{ form_label(form.phone, null, {'label_attr': {'class': 'form-label'}}) }}</div>
  752.                         <div id=\"phoneeHelp\" class=\"form-text\">{{ form_help(form.phone) }}</div>
  753.                         <div class=\"form-error\">
  754.                             {{ form_errors(form.phone) }}
  755.                         </div>
  756.                     </div>
  757.                     <div class=\"col-6\">
  758.                         {% if userObject %}
  759.                             {% set birthdate = userObject.getGeboorte_datum() %}
  760.                         {% else %}
  761.                             {% set birthdate = '' %}
  762.                         {% endif %}
  763.                         <div class=\"form-floating\">
  764.                             {{ form_widget(form.birthdate, {'attr': {'class': 'form-control', 'placeholder': form.birthdate.vars.label, 'value': birthdate}}) }}
  765.                             {{ form_label(form.birthdate, null, {'label_attr': {'class': 'form-label'}}) }}</div>
  766.                         <div id=\"birthdateHelp\" class=\"form-text\">{{ form_help(form.birthdate) }}</div>
  767.                         <div class=\"form-error\">
  768.                             {{ form_errors(form.birthdate) }}
  769.                         </div>
  770.                     </div>
  771.                 </div>
  772.                 <div class=\"row mb-3\">
  773.                     <div class=\"col-12\">
  774.                         {% if userObject %}
  775.                             {% set email = userObject.getEmail() %}
  776.                         {% else %}
  777.                             {% set email = '' %}
  778.                         {% endif %}
  779.                         <div class=\"form-floating\">
  780.                             {{ form_widget(form.email, {'attr': {'class': 'form-control', 'placeholder': form.email.vars.label, 'value': email}}) }}
  781.                             {{ form_label(form.email, null, {'label_attr': {'class': 'form-label'}}) }}</div>
  782.                         <div id=\"emailHelp\" class=\"form-text\">{{ form_help(form.email) }}</div>
  783.                         <div class=\"form-error\">
  784.                             {{ form_errors(form.email) }}
  785.                         </div>
  786.                     </div>
  787.                 </div>
  788.                 {% if not editmode and recaptcha is defined %}
  789.                     {% if recaptcha == 2 %}
  790.                         <div class=\"form-group\">
  791.                             <div class=\"g-recaptcha\" data-sitekey=\"{{ recaptchaPublic }}\"></div>
  792.                         </div>
  793.                     {% elseif recaptcha == 3 %}
  794.                         <input type=\"hidden\" name=\"gtoken\" id=\"gtoken\">
  795.                     {% endif %}
  796.                 {% endif %}
  797.                 {#                {{ form_row(form.conditions) }}#}
  798.                 <div class=\"col-12 form-check\">
  799.                     {{ form_widget(form.conditions, {'attr': {'class': 'form-check-input'}}) }}
  800.                     {{ form_label(form.conditions, null, {'label_attr': {'class': 'form-check-label'}}) }}
  801.                     <a href=\"{% if check_websitesetting('privacy_document', 'document') %}{{ inotherlang('LocalizedDocument', pimcore_website_config('privacy_document')) }}{% endif %}\" target=\"_blank\">
  802.                         {{ 'Ik ga akkoord met privacy'|trans }}
  803.                     </a>
  804.                     <div id=\"conditionsHelp\" class=\"form-text\">{{ form_help(form.conditions) }}</div>
  805.                     <div class=\"form-error\">
  806.                         {{ form_errors(form.conditions) }}
  807.                     </div>
  808.                 </div>
  809.                 {{ form_row(form.submit, {'attr': {'class': 'btn btn-primary mt-3'}}) }}
  810.                 {{ form_end(form) }}
  811.             {% endif %}
  812.         </section>
  813.     </div>
  814.     {#
  815.     {% if document.property('googlemaps') is defined %}
  816.         <div class=\"container-fluid\">
  817.             <div class=\"row\">
  818.                 <div class=\"col-12\">
  819.                     <div class=\"embed-container maps mapgrey\">
  820.                         <iframe src=\"{{ document.property('googlemaps') }}\" width=\"100%\" height=\"450\" frameborder=\"0\" style=\"border:0\" allowfullscreen></iframe>
  821.                     </div>
  822.                 </div>
  823.             </div>
  824.         </div>
  825.     {% endif %}#}
  826.     {% if not editmode and recaptcha == 3 and (app.flashes(['success']).success is empty or app.flashes(['warning']).warning is empty) %}
  827.         <script>
  828.             function getReCaptcha(){
  829.                 grecaptcha.ready(function () {
  830.                     grecaptcha.execute('{{ recaptchaPublic }}', { action: 'contact' }).then(function (token) {
  831.                         var recaptchaResponse = document.getElementById('gtoken');
  832.                         recaptchaResponse.value = token;
  833.                     });
  834.                 });
  835.             }
  836.             getReCaptcha();  // This is the initial call
  837.             setInterval(function(){getReCaptcha();}, 60000);
  838.         </script>
  839.     {% endif %}
  840. {% endblock %}
  841. {# read and display just one flash message type #}
  842. {#{% for message in app.flashes('notice') %}#}
  843. {#    <div class=\"flash-notice\">#}
  844. {#        {{ message }}#}
  845. {#    </div>#}
  846. {#{% endfor %}#}
  847. {# read and display all flash messages #}
  848. {#{% for label, messages in app.flashes %}#}
  849. {#    {% for message in messages %}#}
  850. {#        <div class=\"flash-{{ label }}\">#}
  851. {#            {{ message }}#}
  852. {#        </div>#}
  853. {#    {% endfor %}#}
  854. {#{% endfor %}#}""contact/klantenkaart.html.twig""/var/www/clients/client2/web42/web/pc/templates/contact/klantenkaart.html.twig");
  855.     }
  856.     
  857.     public function checkSecurity()
  858.     {
  859.         static $tags = array("if" => 3"do" => 5"for" => 17"set" => 27);
  860.         static $filters = array("escape" => 19"trans" => 36);
  861.         static $functions = array("pimcore_head_script" => 5"include" => 14"form_start" => 44"form_widget" => 55"form_label" => 56"form_help" => 58"form_errors" => 61"check_websitesetting" => 232"inotherlang" => 232"pimcore_website_config" => 232"form_row" => 243"form_end" => 245"base_layout" => 1);
  862.         try {
  863.             $this->sandbox->checkSecurity(
  864.                 ['if''do''for''set'],
  865.                 ['escape''trans'],
  866.                 ['pimcore_head_script''include''form_start''form_widget''form_label''form_help''form_errors''check_websitesetting''inotherlang''pimcore_website_config''form_row''form_end''base_layout']
  867.             );
  868.         } catch (SecurityError $e) {
  869.             $e->setSourceContext($this->source);
  870.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  871.                 $e->setTemplateLine($tags[$e->getTagName()]);
  872.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  873.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  874.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  875.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  876.             }
  877.             throw $e;
  878.         }
  879.     }
  880. }