<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* services/detail.html.twig */
class __TwigTemplate_e6833457750d5f7a32b45a9576704377 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate($this->extensions['App\Twig\Extension\WebsiteExtension']->getBaseLayout(), "services/detail.html.twig", 1);
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "services/detail.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "services/detail.html.twig"));
// line 3
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", false, false, true, 3))) {
// line 4
$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", false, false, true, 4);
}
// line 7
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", false, false, true, 7))) {
// line 8
$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", false, false, true, 8), 8, $this->source), 200, "...");
}
// line 1
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 11
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 12
echo " <div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
<div class=\"row\">
<div class=\"col-12\">
";
// line 26
echo " <h1>";
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", false, false, true, 26), 26, $this->source), "html", null, true);
echo "</h1>
<div>
<p class=\"date d-inline\">";
// line 28
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Start op"), "html", null, true);
echo "
";
// line 29
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, 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.', 29, $this->source); })()), "start_date", [], "any", false, false, true, 29), "format", [0 => "d.m.y"], "method", false, false, true, 29), 29, $this->source), "html", null, true);
echo "
</p>
<p class=\"d-inline mx-1\">|</p>
<p class=\" d-inline\"><i class=\"fa-solid fa-people-group me-1 text-primary\"></i>";
// line 32
echo twig_escape_filter($this->env, twig_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", false, false, true, 32), 32, $this->source)), "html", null, true);
echo " / ";
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", false, false, true, 32), 32, $this->source), "html", null, true);
echo "</p>
</div>
<p>
";
// line 36
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", false, false, true, 36), 36, $this->source);
echo "
</p>
<h3 class=\"price mt-3\">
<strong>";
// line 39
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Prijs:"), "html", null, true);
echo "</strong>
<span class=\"text-black\">";
// line 40
echo twig_escape_filter($this->env, twig_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", false, false, true, 40), 40, $this->source), 2, ",", "."), "html", null, true);
echo " €</span>
</h3>
</div>
</div>
<div class=\"row mt-5\">
<div class=\"col-12\">
<div class=\"col-md-8 offset-md-2\">
<div class=\"bg-primary bg-opacity-10 p-4\">
<h1>";
// line 48
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Inschrijfformulier"), "html", null, true);
echo "</h1>
";
// line 49
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", false, false, true, 49) >= twig_date_converter($this->env, "now"))) {
// line 50
echo " ";
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", false, false, true, 50) <= twig_date_converter($this->env, "now"))) {
// line 51
echo " ";
if ((twig_length_filter($this->env, 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); })()), "children", [], "any", false, false, true, 51)) != 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", false, false, true, 51))) {
// line 52
echo " ";
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", false, false, true, 52)) {
// line 53
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\CheckLidCardController::Check"));
echo "
";
}
// line 55
echo " ";
$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); })()), [0 => "bootstrap_5_layout.html.twig"], true);
// line 56
echo " ";
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');
echo "
<div class=\"row\">
<div class=\"col-6\">
";
// line 59
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", false, false, true, 59), 59, $this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label"], "attr" => ["class" => "form-control", "placeholder" => "Voornaam"]]);
echo "
";
// line 60
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", false, false, true, 60), 60, $this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label"], "attr" => ["class" => "form-control", "placeholder" => "Achternaam"]]);
echo "
";
// line 61
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", false, false, true, 61), 61, $this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label"], "attr" => ["class" => "form-control", "placeholder" => "Straat"]]);
echo "
";
// line 62
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", false, false, true, 62), 62, $this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label"], "attr" => ["class" => "form-control", "placeholder" => "Postcode"]]);
echo "
";
// line 63
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", false, false, true, 63), 63, $this->source), 'row');
echo "
";
// line 64
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", false, false, true, 64), 64, $this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label"], "attr" => ["class" => "form-control", "placeholder" => "DD/MM/YYYY"]]);
echo "
";
// line 65
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", false, false, true, 65)) {
// line 66
echo " ";
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", false, false, true, 66), 66, $this->source), 'row');
echo "
";
}
// line 68
echo " </div>
<div class=\"col-6\">
";
// line 70
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", false, false, true, 70), 70, $this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label"], "attr" => ["class" => "form-control", "placeholder" => "E-mail"]]);
echo "
";
// line 71
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", false, false, true, 71), 71, $this->source), 'row', ["label_attr" => ["class" => "col-sm-4 control-label"], "attr" => ["class" => "form-control", "placeholder" => "E-mail"]]);
echo "
";
// line 72
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", false, false, true, 72), 72, $this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label"], "attr" => ["class" => "form-control", "placeholder" => "Nr"]]);
echo "
";
// line 73
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", false, false, true, 73), 73, $this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label"], "attr" => ["class" => "form-control", "placeholder" => "Plaats"]]);
echo "
";
// line 74
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", false, false, true, 74), 74, $this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label"], "attr" => ["class" => "form-control", "placeholder" => "Telefoonnummer"]]);
echo "
";
// line 75
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", false, false, true, 75), 75, $this->source), 'row', ["label_attr" => ["class" => "col-sm- control-label"], "attr" => ["class" => "form-control", "placeholder" => "Selecteer een geslacht"]]);
echo "
";
// line 76
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", false, false, true, 76)) {
// line 77
echo " ";
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", false, false, true, 77), 77, $this->source), 'row');
echo "
";
// line 79
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", false, false, true, 79), 79, $this->source), 'row');
echo "
";
}
// line 81
echo "
</div>
";
// line 83
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", false, false, true, 83), 83, $this->source), 'row');
echo "
";
// line 84
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", false, false, true, 84), 84, $this->source), 'row', ["label_attr" => ["class" => "col-sm-3 control-label mt-3"]]);
echo "
</div>
";
// line 87
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');
echo "
";
} else {
// line 89
echo " <p>";
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", null, true);
echo "</p>
<p>";
// line 90
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", null, true);
echo "</p>
";
}
// line 92
echo " ";
} else {
// line 93
echo " <p>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Inschrijven kan pas van af :"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_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", false, false, true, 93), 93, $this->source), "d-m-Y H:i"), "html", null, true);
echo " </p>
";
}
// line 95
echo " ";
} else {
// line 96
echo " <p>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Inschrijven is afgelopen :"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_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", false, false, true, 96), 96, $this->source), "d-m-Y H:i"), "html", null, true);
echo " </p>
";
}
// line 98
echo " </div>
</div>
</div>
</div>
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "services/detail.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends base_layout() %}
{% if campscourse.title is not empty %}
{% set head_title = campscourse.title %}
{% endif %}
{% if campscourse.content is not empty %}
{% set head_description = campscourse.content|truncate(200, '...') %}
{% endif %}
{% block content %}
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
<div class=\"row\">
<div class=\"col-12\">
{# {% if campscourse.getImages() is defined %}#}
{# <div class=\"col-md-4 fotoframe\" >#}
{# {% for campscourseImage in campscourse.getImages() %}#}
{# {% if campscourseImage is defined %}#}
{# <img src=\"{{ campscourseImage.getThumbnail('campscourse-thumb') }}\" alt=\"{% if campscourseImage.getMetadata('alt') is defined %} {{ campscourseImage.getMetadata('alt') }} {% else %} {{ campscourse.getTitle() }} {% endif%}\" class=\"img-fluid\"/>#}
{# {% endif %}#}
{# {% endfor %}#}
{# </div>#}
{# {% endif %}#}
<h1>{{ campscourse.getTitle() }}</h1>
<div>
<p class=\"date d-inline\">{{ 'Start op'|trans }}
{{ campscourse.start_date.format(\"d.m.y\") }}
</p>
<p class=\"d-inline mx-1\">|</p>
<p class=\" d-inline\"><i class=\"fa-solid fa-people-group me-1 text-primary\"></i>{{ campscourse.children|length }} / {{ campscourse.maxpersons }}</p>
</div>
<p>
{{ campscourse.getContent()|raw }}
</p>
<h3 class=\"price mt-3\">
<strong>{{ 'Prijs:'|trans }}</strong>
<span class=\"text-black\">{{ campscourse.pricePerPerson|number_format(2, ',', '.') }} €</span>
</h3>
</div>
</div>
<div class=\"row mt-5\">
<div class=\"col-12\">
<div class=\"col-md-8 offset-md-2\">
<div class=\"bg-primary bg-opacity-10 p-4\">
<h1>{{ 'Inschrijfformulier'|trans }}</h1>
{% if campscourse.getexpiry_date >= date('now') %}
{% if campscourse.getStart_in_date <= date('now') %}
{% if campscourse.children|length != campscourse.maxpersons %}
{% if campscourse.korting %}
{{ render(controller('App\\\\Controller\\\\CheckLidCardController::Check')) }}
{% endif %}
{% form_theme form 'bootstrap_5_layout.html.twig' %}
{{ form_start(form) }}
<div class=\"row\">
<div class=\"col-6\">
{{ form_row(form.firstName, {'label_attr': {'class': 'col-sm-3 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'Voornaam'}}) }}
{{ form_row(form.lastName, {'label_attr': {'class': 'col-sm-3 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'Achternaam'}}) }}
{{ form_row(form.street, {'label_attr': {'class': 'col-sm-3 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'Straat'}}) }}
{{ form_row(form.postalCode, {'label_attr': {'class': 'col-sm-3 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'Postcode'}}) }}
{{ form_row(form.country) }}
{{ form_row(form.birthdate, {'label_attr': {'class': 'col-sm-3 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'DD/MM/YYYY'}}) }}
{% if campscourse.zeilofSurfKamp%}
{{ form_row(form.gezondheidmedische) }}
{% endif %}
</div>
<div class=\"col-6\">
{{ form_row(form.email, {'label_attr': {'class': 'col-sm-3 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'E-mail'}}) }}
{{ form_row(form.confirmEmail, {'label_attr': {'class': 'col-sm-4 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'E-mail'}}) }}
{{ form_row(form.streetNumber, {'label_attr': {'class': 'col-sm-3 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'Nr'}}) }}
{{ form_row(form.city, {'label_attr': {'class': 'col-sm-3 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'Plaats'}}) }}
{{ form_row(form.phoneNumber, {'label_attr': {'class': 'col-sm-3 control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'Telefoonnummer'}}) }}
{{ form_row(form.gender, {'label_attr': {'class': 'col-sm- control-label'}, 'attr': {'class': 'form-control', 'placeholder': 'Selecteer een geslacht'}}) }}
{% if campscourse.zeilofSurfKamp%}
{{ form_row(form.phoneNumber2) }}
{{ form_row(form.zeilofsurfervaring) }}
{% endif %}
</div>
{{ form_row(form.agreeTerms) }}
{{ form_row(form.submit, {'label_attr': {'class': 'col-sm-3 control-label mt-3'}}) }}
</div>
{{ form_end(form) }}
{% else %}
<p>{{ 'Het maximale aantal inschrijvingen is bereikt. Indien u toch nog wilt deelnemen,'|trans }}</p>
<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>
{% endif %}
{% else %}
<p>{{ 'Inschrijven kan pas van af :'|trans }} {{ campscourse.getStart_in_date|date('d-m-Y H:i')}} </p>
{% endif %}
{% else %}
<p>{{ 'Inschrijven is afgelopen :'|trans }} {{ campscourse.getexpiry_date|date('d-m-Y H:i')}} </p>
{% endif %}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}", "services/detail.html.twig", "/var/www/clients/client2/web45/web/pc/templates/services/detail.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 3, "set" => 4, "form_theme" => 55);
static $filters = array("truncate" => 8, "escape" => 26, "trans" => 28, "length" => 32, "raw" => 36, "number_format" => 40, "date" => 93);
static $functions = array("date" => 49, "render" => 53, "controller" => 53, "form_start" => 56, "form_row" => 59, "form_end" => 87, "base_layout" => 1);
try {
$this->sandbox->checkSecurity(
['if', 'set', 'form_theme'],
['truncate', 'escape', 'trans', 'length', 'raw', 'number_format', 'date'],
['date', 'render', 'controller', 'form_start', 'form_row', 'form_end', 'base_layout']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}