var/cache/dev/twig/73/73d16746fcdd8f04877972be285af846.php line 82

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