var/cache/dev/twig/18/1848c88f0bddb733d6e9faa4db94aa4f8e65e2b3336a8aa992025c234a601bcd.php line 38

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/index.html.twig */
  14. class __TwigTemplate_211583ebc5814182114da023cc90203bbe181ecf9e84a11c6eab5daa6a8a09ab extends \Twig\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.             'main' => [$this'block_main'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "Layout/base.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Contact/index.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Contact/index.html.twig"));
  38.         $this->parent $this->loadTemplate("Layout/base.html.twig""Contact/index.html.twig"1);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  42.         
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  44.     }
  45.     // line 3
  46.     public function block_main($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  53.         // line 4
  54.         echo "    ";
  55.         $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"falsefalsefalse4)]));
  56.         // line 5
  57.         echo "
  58.     <section class=\"container\">
  59.         ";
  60.         // line 7
  61.         $this->loadTemplate("@VisualMediaBreadcrumb/Breadcrumb/breadcrumb.html.twig""Contact/index.html.twig"7)->display($context);
  62.         // line 8
  63.         echo "
  64.         <div class=\"row\">
  65.             <div class=\"col-12 col-lg-6\">
  66.                 ";
  67.         // line 11
  68.         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"falsefalsefalse11)), "html"nulltrue);
  69.         echo "
  70.                 <div class=\"contact-data\">
  71.                     <div class=\"row\">
  72.                         <div class=\"col-12 col-lg-6\">
  73.                             ";
  74.         // line 15
  75.         echo twig_escape_filter($this->env$this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("adres"), "html"nulltrue);
  76.         echo "<br/>
  77.                             ";
  78.         // line 16
  79.         echo twig_escape_filter($this->env$this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("postcode"), "html"nulltrue);
  80.         echo " ";
  81.         echo twig_escape_filter($this->env$this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("plaats"), "html"nulltrue);
  82.         echo "</br/>
  83.                             ";
  84.         // line 17
  85.         echo twig_escape_filter($this->env$this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("postbus"), "html"nulltrue);
  86.         echo "</br/>
  87.                         </div>
  88.                         <div class=\"col-12 col-lg-6\">
  89.                             <a href=\"tel:";
  90.         // line 20
  91.         echo twig_escape_filter($this->env$this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("telefoon_link"), "html"nulltrue);
  92.         echo "\">";
  93.         echo twig_escape_filter($this->env$this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("telefoon"), "html"nulltrue);
  94.         echo "</a></br/>
  95.                             <a href=\"mailto:";
  96.         // line 21
  97.         echo twig_escape_filter($this->env$this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("email"), "html"nulltrue);
  98.         echo "\">";
  99.         echo twig_escape_filter($this->env$this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("email"), "html"nulltrue);
  100.         echo "</a></br/>
  101.                             <a href=\"";
  102.         // line 22
  103.         echo twig_escape_filter($this->env$this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("website_link"), "html"nulltrue);
  104.         echo "\">";
  105.         echo twig_escape_filter($this->env$this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("website"), "html"nulltrue);
  106.         echo "</a><br/>
  107.                         </div>
  108.                     </div>
  109.                     <div class=\"row\">
  110.                         <div class=\"col-12\">
  111.                             <br/>
  112.                             KvK: ";
  113.         // line 28
  114.         echo twig_escape_filter($this->env$this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("kvk"), "html"nulltrue);
  115.         echo "<br/>
  116.                             BTW: ";
  117.         // line 29
  118.         echo twig_escape_filter($this->env$this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("btw"), "html"nulltrue);
  119.         echo "<br/>
  120.                             IBAN: ";
  121.         // line 30
  122.         echo twig_escape_filter($this->env$this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("iban"), "html"nulltrue);
  123.         echo "<br/>
  124.                         </div>
  125.                     </div>
  126.                 </div>
  127.             </div>
  128.             <div class=\"col-12 col-lg-6\">
  129.                 <div class=\"content-padding\">
  130.                     ";
  131.         // line 38
  132.         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"]]);
  133.         echo "
  134.                     ";
  135.         // line 40
  136.         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');
  137.         echo "
  138.                     ";
  139.         // line 42
  140.         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"falsefalsefalse42), 'row');
  141.         echo "
  142.                     ";
  143.         // line 43
  144.         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"falsefalsefalse43), 'row');
  145.         echo "
  146.                     ";
  147.         // line 44
  148.         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"falsefalsefalse44), 'row');
  149.         echo "
  150.                     ";
  151.         // line 45
  152.         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"falsefalsefalse45), 'row');
  153.         echo "
  154.                     ";
  155.         // line 46
  156.         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"falsefalsefalse46), 'row');
  157.         echo "
  158.                     <div class=\"form-group row max-width clearfix\">
  159.                         <div class=\"col-12 col-lg-8 col-lg-offset-4\">
  160.                             ";
  161.         // line 50
  162.         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"falsefalsefalse50), 'widget', ["attr" => ["class" => "btn btn-primary"]]);
  163.         echo "
  164.                         </div>
  165.                     </div>
  166.                     ";
  167.         // line 54
  168.         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');
  169.         echo "
  170.                 </div>
  171.             </div>
  172.         </div>
  173.     </section>
  174. ";
  175.         
  176.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  177.         
  178.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  179.     }
  180.     public function getTemplateName()
  181.     {
  182.         return "Contact/index.html.twig";
  183.     }
  184.     public function isTraitable()
  185.     {
  186.         return false;
  187.     }
  188.     public function getDebugInfo()
  189.     {
  190.         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,);
  191.     }
  192.     public function getSourceContext()
  193.     {
  194.         return new Source("{% extends 'Layout/base.html.twig' %}
  195. {% block main %}
  196.     {% include '@VisualMediaVisual/Visual/visual.html.twig' with { visuals: page.visuals } %}
  197.     <section class=\"container\">
  198.         {% include '@VisualMediaBreadcrumb/Breadcrumb/breadcrumb.html.twig' %}
  199.         <div class=\"row\">
  200.             <div class=\"col-12 col-lg-6\">
  201.                 {{ page.htmlContent|scan }}
  202.                 <div class=\"contact-data\">
  203.                     <div class=\"row\">
  204.                         <div class=\"col-12 col-lg-6\">
  205.                             {{ setting(\"adres\") }}<br/>
  206.                             {{ setting(\"postcode\") }} {{ setting(\"plaats\") }}</br/>
  207.                             {{ setting(\"postbus\") }}</br/>
  208.                         </div>
  209.                         <div class=\"col-12 col-lg-6\">
  210.                             <a href=\"tel:{{ setting(\"telefoon_link\") }}\">{{ setting(\"telefoon\") }}</a></br/>
  211.                             <a href=\"mailto:{{ setting(\"email\") }}\">{{ setting(\"email\") }}</a></br/>
  212.                             <a href=\"{{ setting(\"website_link\") }}\">{{ setting(\"website\") }}</a><br/>
  213.                         </div>
  214.                     </div>
  215.                     <div class=\"row\">
  216.                         <div class=\"col-12\">
  217.                             <br/>
  218.                             KvK: {{ setting(\"kvk\") }}<br/>
  219.                             BTW: {{ setting(\"btw\") }}<br/>
  220.                             IBAN: {{ setting(\"iban\") }}<br/>
  221.                         </div>
  222.                     </div>
  223.                 </div>
  224.             </div>
  225.             <div class=\"col-12 col-lg-6\">
  226.                 <div class=\"content-padding\">
  227.                     {{ form_start(form, { attr: { class: 'form-horizontal validation' }}) }}
  228.                     {{ form_errors(form) }}
  229.                     {{ form_row(form.contact) }}
  230.                     {{ form_row(form.email) }}
  231.                     {{ form_row(form.phone) }}
  232.                     {{ form_row(form.message) }}
  233.                     {{ form_row(form.google_recaptcha) }}
  234.                     <div class=\"form-group row max-width clearfix\">
  235.                         <div class=\"col-12 col-lg-8 col-lg-offset-4\">
  236.                             {{ form_widget(form.submit, { attr: { class : 'btn btn-primary'}}) }}
  237.                         </div>
  238.                     </div>
  239.                     {{ form_end(form) }}
  240.                 </div>
  241.             </div>
  242.         </div>
  243.     </section>
  244. {% endblock %}
  245. ""Contact/index.html.twig""/home/components/public_html/templates/Contact/index.html.twig");
  246.     }
  247. }