var/cache/dev/twig/e3/e3550c7483337deb46a237477daea324.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. /* services/detail.html.twig */
  14. class __TwigTemplate_e6833457750d5f7a32b45a9576704377 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(), "services/detail.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""services/detail.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""services/detail.html.twig"));
  40.         // line 3
  41.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'3$this->source); })()), "title", [], "any"falsefalsetrue3))) {
  42.             // line 4
  43.             $context["head_title"] = twig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'4$this->source); })()), "title", [], "any"falsefalsetrue4);
  44.         }
  45.         // line 7
  46.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'7$this->source); })()), "content", [], "any"falsefalsetrue7))) {
  47.             // line 8
  48.             $context["head_description"] = $this->extensions['App\Twig\Extension\TruncateExtension']->truncateContent($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'8$this->source); })()), "content", [], "any"falsefalsetrue8), 8$this->source), 200"...");
  49.         }
  50.         // line 1
  51.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  52.         
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  54.         
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  56.     }
  57.     // line 11
  58.     public function block_content($context, array $blocks = [])
  59.     {
  60.         $macros $this->macros;
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  65.         // line 12
  66.         echo "    <div class=\"container\">
  67.         <div class=\"row\">
  68.             <div class=\"col-12\">
  69.                 <div class=\"row\">
  70.                     <div class=\"col-12\">
  71. ";
  72.         // line 26
  73.         echo "                        <h1>";
  74.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'26$this->source); })()), "getTitle", [], "method"falsefalsetrue26), 26$this->source), "html"nulltrue);
  75.         echo "</h1>
  76.                         <div>
  77.                             <p class=\"date d-inline\">";
  78.         // line 28
  79.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Start op"), "html"nulltrue);
  80.         echo "
  81.                                 ";
  82.         // line 29
  83.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'29$this->source); })()), "start_date", [], "any"falsefalsetrue29), "format", [=> "d.m.y"], "method"falsefalsetrue29), 29$this->source), "html"nulltrue);
  84.         echo "
  85.                             </p>
  86.                             <p class=\"d-inline mx-1\">|</p>
  87.                             <p class=\" d-inline\"><i class=\"fa-solid fa-people-group me-1 text-primary\"></i>";
  88.         // line 32
  89.         echo twig_escape_filter($this->envtwig_length_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'32$this->source); })()), "children", [], "any"falsefalsetrue32), 32$this->source)), "html"nulltrue);
  90.         echo " / ";
  91.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'32$this->source); })()), "maxpersons", [], "any"falsefalsetrue32), 32$this->source), "html"nulltrue);
  92.         echo "</p>
  93.                         </div>
  94.                         <p>
  95.                         ";
  96.         // line 36
  97.         echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'36$this->source); })()), "getContent", [], "method"falsefalsetrue36), 36$this->source);
  98.         echo "
  99.                         </p>
  100.                         <h3 class=\"price mt-3\">
  101.                             <strong>";
  102.         // line 39
  103.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Prijs:"), "html"nulltrue);
  104.         echo "</strong>
  105.                             <span class=\"text-black\">";
  106.         // line 40
  107.         echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'40$this->source); })()), "pricePerPerson", [], "any"falsefalsetrue40), 40$this->source), 2",""."), "html"nulltrue);
  108.         echo " €</span>
  109.                         </h3>
  110.                     </div>
  111.                 </div>
  112.                 <div class=\"row mt-5\">
  113.                     <div class=\"col-12\">
  114.                         <div class=\"col-md-8 offset-md-2\">
  115.                             <div class=\"bg-primary bg-opacity-10 p-4\">
  116.                             <h1>";
  117.         // line 48
  118.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Inschrijfformulier"), "html"nulltrue);
  119.         echo "</h1>
  120.                                 ";
  121.         // line 49
  122.         if ((twig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'49$this->source); })()), "getexpiry_date", [], "any"falsefalsetrue49) >= twig_date_converter($this->env"now"))) {
  123.             // line 50
  124.             echo "                                    ";
  125.             if ((twig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'50$this->source); })()), "getStart_in_date", [], "any"falsefalsetrue50) <= twig_date_converter($this->env"now"))) {
  126.                 // line 51
  127.                 echo "                                        ";
  128.                 if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'51$this->source); })()), "children", [], "any"falsefalsetrue51)) != twig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'51$this->source); })()), "maxpersons", [], "any"falsefalsetrue51))) {
  129.                     // line 52
  130.                     echo "                                            ";
  131.                     if (twig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'52$this->source); })()), "korting", [], "any"falsefalsetrue52)) {
  132.                         // line 53
  133.                         echo "                                                ";
  134.                         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\CheckLidCardController::Check"));
  135.                         echo "
  136.                                             ";
  137.                     }
  138.                     // line 55
  139.                     echo "                                            ";
  140.                     $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.'55$this->source); })()), [=> "bootstrap_5_layout.html.twig"], true);
  141.                     // line 56
  142.                     echo "                                            ";
  143.                     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.'56$this->source); })()), 56$this->source), 'form_start');
  144.                     echo "
  145.                                             <div class=\"row\">
  146.                                                 <div class=\"col-6\">
  147.                                                     ";
  148.                     // line 59
  149.                     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.'59$this->source); })()), "firstName", [], "any"falsefalsetrue59), 59$this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label"], "attr" => ["class" => "form-control""placeholder" => "Voornaam"]]);
  150.                     echo "
  151.                                                     ";
  152.                     // line 60
  153.                     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.'60$this->source); })()), "lastName", [], "any"falsefalsetrue60), 60$this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label"], "attr" => ["class" => "form-control""placeholder" => "Achternaam"]]);
  154.                     echo "
  155.                                                     ";
  156.                     // line 61
  157.                     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); })()), "street", [], "any"falsefalsetrue61), 61$this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label"], "attr" => ["class" => "form-control""placeholder" => "Straat"]]);
  158.                     echo "
  159.                                                     ";
  160.                     // line 62
  161.                     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.'62$this->source); })()), "postalCode", [], "any"falsefalsetrue62), 62$this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label"], "attr" => ["class" => "form-control""placeholder" => "Postcode"]]);
  162.                     echo "
  163.                                                     ";
  164.                     // line 63
  165.                     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.'63$this->source); })()), "country", [], "any"falsefalsetrue63), 63$this->source), 'row');
  166.                     echo "
  167.                                                     ";
  168.                     // line 64
  169.                     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.'64$this->source); })()), "birthdate", [], "any"falsefalsetrue64), 64$this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label"], "attr" => ["class" => "form-control""placeholder" => "DD/MM/YYYY"]]);
  170.                     echo "
  171.                                                     ";
  172.                     // line 65
  173.                     if (twig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'65$this->source); })()), "zeilofSurfKamp", [], "any"falsefalsetrue65)) {
  174.                         // line 66
  175.                         echo "                                                        ";
  176.                         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.'66$this->source); })()), "gezondheidmedische", [], "any"falsefalsetrue66), 66$this->source), 'row');
  177.                         echo "
  178.                                                     ";
  179.                     }
  180.                     // line 68
  181.                     echo "                                                </div>
  182.                                                 <div class=\"col-6\">
  183.                                                     ";
  184.                     // line 70
  185.                     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.'70$this->source); })()), "email", [], "any"falsefalsetrue70), 70$this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label"], "attr" => ["class" => "form-control""placeholder" => "E-mail"]]);
  186.                     echo "
  187.                                                     ";
  188.                     // line 71
  189.                     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.'71$this->source); })()), "confirmEmail", [], "any"falsefalsetrue71), 71$this->source), 'row', ["label_attr" => ["class" => "col-sm-4 control-label"], "attr" => ["class" => "form-control""placeholder" => "E-mail"]]);
  190.                     echo "
  191.                                                     ";
  192.                     // line 72
  193.                     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.'72$this->source); })()), "streetNumber", [], "any"falsefalsetrue72), 72$this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label"], "attr" => ["class" => "form-control""placeholder" => "Nr"]]);
  194.                     echo "
  195.                                                     ";
  196.                     // line 73
  197.                     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); })()), "city", [], "any"falsefalsetrue73), 73$this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label"], "attr" => ["class" => "form-control""placeholder" => "Plaats"]]);
  198.                     echo "
  199.                                                     ";
  200.                     // line 74
  201.                     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); })()), "phoneNumber", [], "any"falsefalsetrue74), 74$this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label"], "attr" => ["class" => "form-control""placeholder" => "Telefoonnummer"]]);
  202.                     echo "
  203.                                                     ";
  204.                     // line 75
  205.                     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.'75$this->source); })()), "gender", [], "any"falsefalsetrue75), 75$this->source), 'row', ["label_attr" => ["class" => "col-sm- control-label"], "attr" => ["class" => "form-control""placeholder" => "Selecteer een geslacht"]]);
  206.                     echo "
  207.                                                     ";
  208.                     // line 76
  209.                     if (twig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'76$this->source); })()), "zeilofSurfKamp", [], "any"falsefalsetrue76)) {
  210.                         // line 77
  211.                         echo "                                                        ";
  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.'77$this->source); })()), "phoneNumber2", [], "any"falsefalsetrue77), 77$this->source), 'row');
  213.                         echo "
  214.                                                         ";
  215.                         // line 79
  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.'79$this->source); })()), "zeilofsurfervaring", [], "any"falsefalsetrue79), 79$this->source), 'row');
  217.                         echo "
  218.                                                     ";
  219.                     }
  220.                     // line 81
  221.                     echo "
  222.                                                 </div>
  223.                                                 ";
  224.                     // line 83
  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.'83$this->source); })()), "agreeTerms", [], "any"falsefalsetrue83), 83$this->source), 'row');
  226.                     echo "
  227.                                                 ";
  228.                     // line 84
  229.                     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.'84$this->source); })()), "submit", [], "any"falsefalsetrue84), 84$this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label mt-3"]]);
  230.                     echo "
  231.                                             </div>
  232.                                             ";
  233.                     // line 87
  234.                     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.'87$this->source); })()), 87$this->source), 'form_end');
  235.                     echo "
  236.                                         ";
  237.                 } else {
  238.                     // line 89
  239.                     echo "                                            <p>";
  240.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Het maximale aantal inschrijvingen is bereikt. Indien u toch nog wilt deelnemen,"), "html"nulltrue);
  241.                     echo "</p>
  242.                                             <p>";
  243.                     // line 90
  244.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("verzoeken wij u vriendelijk om contact met ons op te nemen via het contactformulier dan kunnen we kijken of er nog plaats is."), "html"nulltrue);
  245.                     echo "</p>
  246.                                         ";
  247.                 }
  248.                 // line 92
  249.                 echo "                                    ";
  250.             } else {
  251.                 // line 93
  252.                 echo "                                        <p>";
  253.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Inschrijven kan pas van af :"), "html"nulltrue);
  254.                 echo " ";
  255.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'93$this->source); })()), "getStart_in_date", [], "any"falsefalsetrue93), 93$this->source), "d-m-Y H:i"), "html"nulltrue);
  256.                 echo " </p>
  257.                                     ";
  258.             }
  259.             // line 95
  260.             echo "                                ";
  261.         } else {
  262.             // line 96
  263.             echo "                                    <p>";
  264.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Inschrijven is afgelopen :"), "html"nulltrue);
  265.             echo " ";
  266.             echo twig_escape_filter($this->envtwig_date_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["campscourse"]) || array_key_exists("campscourse"$context) ? $context["campscourse"] : (function () { throw new RuntimeError('Variable "campscourse" does not exist.'96$this->source); })()), "getexpiry_date", [], "any"falsefalsetrue96), 96$this->source), "d-m-Y H:i"), "html"nulltrue);
  267.             echo " </p>
  268.                                 ";
  269.         }
  270.         // line 98
  271.         echo "                            </div>
  272.                         </div>
  273.                     </div>
  274.                 </div>
  275.             </div>
  276.         </div>
  277.     </div>
  278. ";
  279.         
  280.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  281.         
  282.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  283.     }
  284.     public function getTemplateName()
  285.     {
  286.         return "services/detail.html.twig";
  287.     }
  288.     public function isTraitable()
  289.     {
  290.         return false;
  291.     }
  292.     public function getDebugInfo()
  293.     {
  294.         return array (  288 => 98,  280 => 96,  277 => 95,  269 => 93,  266 => 92,  261 => 90,  256 => 89,  251 => 87,  245 => 84,  241 => 83,  237 => 81,  232 => 79,  226 => 77,  224 => 76,  220 => 75,  216 => 74,  212 => 73,  208 => 72,  204 => 71,  200 => 70,  196 => 68,  190 => 66,  188 => 65,  184 => 64,  180 => 63,  176 => 62,  172 => 61,  168 => 60,  164 => 59,  157 => 56,  154 => 55,  148 => 53,  145 => 52,  142 => 51,  139 => 50,  137 => 49,  133 => 48,  122 => 40,  118 => 39,  112 => 36,  103 => 32,  97 => 29,  93 => 28,  87 => 26,  80 => 12,  70 => 11,  60 => 1,  57 => 8,  55 => 7,  52 => 4,  50 => 3,  37 => 1,);
  295.     }
  296.     public function getSourceContext()
  297.     {
  298.         return new Source("{% extends base_layout() %}
  299. {% if campscourse.title is not empty %}
  300.     {% set head_title = campscourse.title %}
  301. {% endif %}
  302. {% if campscourse.content is not empty %}
  303.     {% set head_description = campscourse.content|truncate(200, '...') %}
  304. {% endif %}
  305. {% block content %}
  306.     <div class=\"container\">
  307.         <div class=\"row\">
  308.             <div class=\"col-12\">
  309.                 <div class=\"row\">
  310.                     <div class=\"col-12\">
  311. {#                        {% if campscourse.getImages() is defined %}#}
  312. {#                            <div class=\"col-md-4 fotoframe\" >#}
  313. {#                                {% for campscourseImage in campscourse.getImages() %}#}
  314. {#                                    {% if campscourseImage is defined %}#}
  315. {#                                        <img src=\"{{ campscourseImage.getThumbnail('campscourse-thumb') }}\" alt=\"{% if campscourseImage.getMetadata('alt') is defined %} {{ campscourseImage.getMetadata('alt') }} {% else %} {{ campscourse.getTitle() }} {% endif%}\" class=\"img-fluid\"/>#}
  316. {#                                    {% endif %}#}
  317. {#                                {% endfor %}#}
  318. {#                            </div>#}
  319. {#                        {% endif %}#}
  320.                         <h1>{{ campscourse.getTitle() }}</h1>
  321.                         <div>
  322.                             <p class=\"date d-inline\">{{ 'Start op'|trans }}
  323.                                 {{ campscourse.start_date.format(\"d.m.y\") }}
  324.                             </p>
  325.                             <p class=\"d-inline mx-1\">|</p>
  326.                             <p class=\" d-inline\"><i class=\"fa-solid fa-people-group me-1 text-primary\"></i>{{ campscourse.children|length }} / {{ campscourse.maxpersons }}</p>
  327.                         </div>
  328.                         <p>
  329.                         {{ campscourse.getContent()|raw }}
  330.                         </p>
  331.                         <h3 class=\"price mt-3\">
  332.                             <strong>{{ 'Prijs:'|trans }}</strong>
  333.                             <span class=\"text-black\">{{ campscourse.pricePerPerson|number_format(2, ',', '.') }} €</span>
  334.                         </h3>
  335.                     </div>
  336.                 </div>
  337.                 <div class=\"row mt-5\">
  338.                     <div class=\"col-12\">
  339.                         <div class=\"col-md-8 offset-md-2\">
  340.                             <div class=\"bg-primary bg-opacity-10 p-4\">
  341.                             <h1>{{ 'Inschrijfformulier'|trans }}</h1>
  342.                                 {% if campscourse.getexpiry_date >= date('now') %}
  343.                                     {% if campscourse.getStart_in_date <= date('now') %}
  344.                                         {% if campscourse.children|length != campscourse.maxpersons  %}
  345.                                             {% if campscourse.korting %}
  346.                                                 {{ render(controller('App\\\\Controller\\\\CheckLidCardController::Check')) }}
  347.                                             {% endif %}
  348.                                             {% form_theme form 'bootstrap_5_layout.html.twig' %}
  349.                                             {{ form_start(form) }}
  350.                                             <div class=\"row\">
  351.                                                 <div class=\"col-6\">
  352.                                                     {{ form_row(form.firstName, {'label_attr': {'class': 'col-sm-3 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'Voornaam'}}) }}
  353.                                                     {{ form_row(form.lastName, {'label_attr': {'class': 'col-sm-3 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'Achternaam'}}) }}
  354.                                                     {{ form_row(form.street, {'label_attr': {'class': 'col-sm-3 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'Straat'}}) }}
  355.                                                     {{ form_row(form.postalCode, {'label_attr': {'class': 'col-sm-3 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'Postcode'}}) }}
  356.                                                     {{ form_row(form.country) }}
  357.                                                     {{ form_row(form.birthdate, {'label_attr': {'class': 'col-sm-3 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'DD/MM/YYYY'}}) }}
  358.                                                     {% if  campscourse.zeilofSurfKamp%}
  359.                                                         {{ form_row(form.gezondheidmedische) }}
  360.                                                     {% endif %}
  361.                                                 </div>
  362.                                                 <div class=\"col-6\">
  363.                                                     {{ form_row(form.email, {'label_attr': {'class': 'col-sm-3 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'E-mail'}}) }}
  364.                                                     {{ form_row(form.confirmEmail, {'label_attr': {'class': 'col-sm-4 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'E-mail'}}) }}
  365.                                                     {{ form_row(form.streetNumber, {'label_attr': {'class': 'col-sm-3 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'Nr'}}) }}
  366.                                                     {{ form_row(form.city, {'label_attr': {'class': 'col-sm-3 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'Plaats'}}) }}
  367.                                                     {{ form_row(form.phoneNumber, {'label_attr': {'class': 'col-sm-3 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'Telefoonnummer'}}) }}
  368.                                                     {{ form_row(form.gender, {'label_attr': {'class': 'col-sm- control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'Selecteer een geslacht'}}) }}
  369.                                                     {% if  campscourse.zeilofSurfKamp%}
  370.                                                         {{ form_row(form.phoneNumber2) }}
  371.                                                         {{ form_row(form.zeilofsurfervaring) }}
  372.                                                     {% endif %}
  373.                                                 </div>
  374.                                                 {{ form_row(form.agreeTerms) }}
  375.                                                 {{ form_row(form.submit, {'label_attr': {'class': 'col-sm-3 control-label mt-3'}}) }}
  376.                                             </div>
  377.                                             {{ form_end(form) }}
  378.                                         {% else %}
  379.                                             <p>{{ 'Het maximale aantal inschrijvingen is bereikt. Indien u toch nog wilt deelnemen,'|trans }}</p>
  380.                                             <p>{{ 'verzoeken wij u vriendelijk om contact met ons op te nemen via het contactformulier dan kunnen we kijken of er nog plaats is.'|trans }}</p>
  381.                                         {% endif %}
  382.                                     {% else %}
  383.                                         <p>{{ 'Inschrijven kan pas van af :'|trans }} {{ campscourse.getStart_in_date|date('d-m-Y H:i')}} </p>
  384.                                     {% endif %}
  385.                                 {% else %}
  386.                                     <p>{{ 'Inschrijven is afgelopen :'|trans }} {{ campscourse.getexpiry_date|date('d-m-Y H:i')}} </p>
  387.                                 {% endif %}
  388.                             </div>
  389.                         </div>
  390.                     </div>
  391.                 </div>
  392.             </div>
  393.         </div>
  394.     </div>
  395. {% endblock %}""services/detail.html.twig""/var/www/clients/client2/web45/web/pc/templates/services/detail.html.twig");
  396.     }
  397.     
  398.     public function checkSecurity()
  399.     {
  400.         static $tags = array("if" => 3"set" => 4"form_theme" => 55);
  401.         static $filters = array("truncate" => 8"escape" => 26"trans" => 28"length" => 32"raw" => 36"number_format" => 40"date" => 93);
  402.         static $functions = array("date" => 49"render" => 53"controller" => 53"form_start" => 56"form_row" => 59"form_end" => 87"base_layout" => 1);
  403.         try {
  404.             $this->sandbox->checkSecurity(
  405.                 ['if''set''form_theme'],
  406.                 ['truncate''escape''trans''length''raw''number_format''date'],
  407.                 ['date''render''controller''form_start''form_row''form_end''base_layout']
  408.             );
  409.         } catch (SecurityError $e) {
  410.             $e->setSourceContext($this->source);
  411.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  412.                 $e->setTemplateLine($tags[$e->getTagName()]);
  413.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  414.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  415.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  416.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  417.             }
  418.             throw $e;
  419.         }
  420.     }
  421. }