<?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;
/* Contact/index.html.twig */
class __TwigTemplate_211583ebc5814182114da023cc90203bbe181ecf9e84a11c6eab5daa6a8a09ab extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'main' => [$this, 'block_main'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "Layout/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Contact/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Contact/index.html.twig"));
$this->parent = $this->loadTemplate("Layout/base.html.twig", "Contact/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 4
echo " ";
$this->loadTemplate("@VisualMediaVisual/Visual/visual.html.twig", "Contact/index.html.twig", 4)->display(twig_array_merge($context, ["visuals" => twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 4, $this->source); })()), "visuals", [], "any", false, false, false, 4)]));
// line 5
echo "
<section class=\"container\">
";
// line 7
$this->loadTemplate("@VisualMediaBreadcrumb/Breadcrumb/breadcrumb.html.twig", "Contact/index.html.twig", 7)->display($context);
// line 8
echo "
<div class=\"row\">
<div class=\"col-12 col-lg-6\">
";
// line 11
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigContentScan']->scan(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 11, $this->source); })()), "htmlContent", [], "any", false, false, false, 11)), "html", null, true);
echo "
<div class=\"contact-data\">
<div class=\"row\">
<div class=\"col-12 col-lg-6\">
";
// line 15
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("adres"), "html", null, true);
echo "<br/>
";
// line 16
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("postcode"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("plaats"), "html", null, true);
echo "</br/>
";
// line 17
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("postbus"), "html", null, true);
echo "</br/>
</div>
<div class=\"col-12 col-lg-6\">
<a href=\"tel:";
// line 20
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("telefoon_link"), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("telefoon"), "html", null, true);
echo "</a></br/>
<a href=\"mailto:";
// line 21
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("email"), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("email"), "html", null, true);
echo "</a></br/>
<a href=\"";
// line 22
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("website_link"), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("website"), "html", null, true);
echo "</a><br/>
</div>
</div>
<div class=\"row\">
<div class=\"col-12\">
<br/>
KvK: ";
// line 28
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("kvk"), "html", null, true);
echo "<br/>
BTW: ";
// line 29
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("btw"), "html", null, true);
echo "<br/>
IBAN: ";
// line 30
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("iban"), "html", null, true);
echo "<br/>
</div>
</div>
</div>
</div>
<div class=\"col-12 col-lg-6\">
<div class=\"content-padding\">
";
// line 38
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 38, $this->source); })()), 'form_start', ["attr" => ["class" => "form-horizontal validation"]]);
echo "
";
// line 40
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 40, $this->source); })()), 'errors');
echo "
";
// line 42
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 42, $this->source); })()), "contact", [], "any", false, false, false, 42), 'row');
echo "
";
// line 43
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 43, $this->source); })()), "email", [], "any", false, false, false, 43), 'row');
echo "
";
// line 44
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 44, $this->source); })()), "phone", [], "any", false, false, false, 44), 'row');
echo "
";
// line 45
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 45, $this->source); })()), "message", [], "any", false, false, false, 45), 'row');
echo "
";
// line 46
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 46, $this->source); })()), "google_recaptcha", [], "any", false, false, false, 46), 'row');
echo "
<div class=\"form-group row max-width clearfix\">
<div class=\"col-12 col-lg-8 col-lg-offset-4\">
";
// line 50
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 50, $this->source); })()), "submit", [], "any", false, false, false, 50), 'widget', ["attr" => ["class" => "btn btn-primary"]]);
echo "
</div>
</div>
";
// line 54
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 54, $this->source); })()), 'form_end');
echo "
</div>
</div>
</div>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Contact/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 187 => 54, 180 => 50, 173 => 46, 169 => 45, 165 => 44, 161 => 43, 157 => 42, 152 => 40, 147 => 38, 136 => 30, 132 => 29, 128 => 28, 117 => 22, 111 => 21, 105 => 20, 99 => 17, 93 => 16, 89 => 15, 82 => 11, 77 => 8, 75 => 7, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'Layout/base.html.twig' %}
{% block main %}
{% include '@VisualMediaVisual/Visual/visual.html.twig' with { visuals: page.visuals } %}
<section class=\"container\">
{% include '@VisualMediaBreadcrumb/Breadcrumb/breadcrumb.html.twig' %}
<div class=\"row\">
<div class=\"col-12 col-lg-6\">
{{ page.htmlContent|scan }}
<div class=\"contact-data\">
<div class=\"row\">
<div class=\"col-12 col-lg-6\">
{{ setting(\"adres\") }}<br/>
{{ setting(\"postcode\") }} {{ setting(\"plaats\") }}</br/>
{{ setting(\"postbus\") }}</br/>
</div>
<div class=\"col-12 col-lg-6\">
<a href=\"tel:{{ setting(\"telefoon_link\") }}\">{{ setting(\"telefoon\") }}</a></br/>
<a href=\"mailto:{{ setting(\"email\") }}\">{{ setting(\"email\") }}</a></br/>
<a href=\"{{ setting(\"website_link\") }}\">{{ setting(\"website\") }}</a><br/>
</div>
</div>
<div class=\"row\">
<div class=\"col-12\">
<br/>
KvK: {{ setting(\"kvk\") }}<br/>
BTW: {{ setting(\"btw\") }}<br/>
IBAN: {{ setting(\"iban\") }}<br/>
</div>
</div>
</div>
</div>
<div class=\"col-12 col-lg-6\">
<div class=\"content-padding\">
{{ form_start(form, { attr: { class: 'form-horizontal validation' }}) }}
{{ form_errors(form) }}
{{ form_row(form.contact) }}
{{ form_row(form.email) }}
{{ form_row(form.phone) }}
{{ form_row(form.message) }}
{{ form_row(form.google_recaptcha) }}
<div class=\"form-group row max-width clearfix\">
<div class=\"col-12 col-lg-8 col-lg-offset-4\">
{{ form_widget(form.submit, { attr: { class : 'btn btn-primary'}}) }}
</div>
</div>
{{ form_end(form) }}
</div>
</div>
</div>
</section>
{% endblock %}
", "Contact/index.html.twig", "/home/components/public_html/templates/Contact/index.html.twig");
}
}