var/cache/dev/twig/01/01fcb6f8b635e73526d3ba0215d2b5b1.php line 137

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* Frontend/Properties/propertyEnquiry.html.twig */
  16. class __TwigTemplate_f1c6ea2cd96bb8c9a3eeaa565f3e1f6b extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'page_title' => [$this'block_page_title'],
  29.             'meta_tags' => [$this'block_meta_tags'],
  30.             'content' => [$this'block_content'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  34.     {
  35.         // line 1
  36.         return "Frontend/_templates/default.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = []): iterable
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  42.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Frontend/Properties/propertyEnquiry.html.twig"));
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Frontend/Properties/propertyEnquiry.html.twig"));
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Frontend/Properties/propertyEnquiry.html.twig"));
  47.         $this->parent $this->load("Frontend/_templates/default.html.twig"1);
  48.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  49.         
  50.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  51.         
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  53.         
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  55.     }
  56.     // line 3
  57.     /**
  58.      * @return iterable<null|scalar|\Stringable>
  59.      */
  60.     public function block_page_title(array $context, array $blocks = []): iterable
  61.     {
  62.         $macros $this->macros;
  63.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  64.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  69.         yield "Enquire About ";
  70.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'3$this->source); })()), "address2", [], "any"falsefalsefalse3), "html"nulltrue);
  71.         yield ", ";
  72.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'3$this->source); })()), "area", [], "any"falsefalsefalse3), "name", [], "any"falsefalsefalse3), "html"nulltrue);
  73.         
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  75.         
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  77.         
  78.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  79.         yield from [];
  80.     }
  81.     // line 5
  82.     /**
  83.      * @return iterable<null|scalar|\Stringable>
  84.      */
  85.     public function block_meta_tags(array $context, array $blocks = []): iterable
  86.     {
  87.         $macros $this->macros;
  88.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  89.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_tags"));
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_tags"));
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_tags"));
  94.         // line 6
  95.         yield "
  96. ";
  97.         
  98.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  99.         
  100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  101.         
  102.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  103.         yield from [];
  104.     }
  105.     // line 9
  106.     /**
  107.      * @return iterable<null|scalar|\Stringable>
  108.      */
  109.     public function block_content(array $context, array $blocks = []): iterable
  110.     {
  111.         $macros $this->macros;
  112.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  113.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  116.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  117.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  118.         // line 10
  119.         yield "    <div class=\"block-heading\">
  120.         <div class=\"container\">
  121.             <h1>Enquire About ";
  122.         // line 12
  123.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'12$this->source); })()), "address2", [], "any"falsefalsefalse12), "html"nulltrue);
  124.         yield ", ";
  125.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'12$this->source); })()), "area", [], "any"falsefalsefalse12), "name", [], "any"falsefalsefalse12), "html"nulltrue);
  126.         yield "</h1>
  127.             <p class=\"sub-title\">
  128.                 Property reference: #";
  129.         // line 14
  130.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'14$this->source); })()), "reference", [], "any"falsefalsefalse14), "html"nulltrue);
  131.         yield "
  132.             </p>
  133.         </div>
  134.     </div>
  135.     <div class=\"block-text\">
  136.         <div class=\"container\">
  137.             <p class=\"mb-5 text-center\">
  138.                 Leave your details below and we'll get back to you as soon as we can.<br/>
  139.                 If you're interested in any other properties please let us know.
  140.             </p>
  141.             <div class=\"row\">
  142.                 <div class=\"offset-md-3 col-md-6\">
  143.                     ";
  144.         // line 28
  145.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["propertyEnquiryForm"]) || array_key_exists("propertyEnquiryForm"$context) ? $context["propertyEnquiryForm"] : (function () { throw new RuntimeError('Variable "propertyEnquiryForm" does not exist.'28$this->source); })()), 'form_start');
  146.         yield "
  147.                         ";
  148.         // line 29
  149.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["propertyEnquiryForm"]) || array_key_exists("propertyEnquiryForm"$context) ? $context["propertyEnquiryForm"] : (function () { throw new RuntimeError('Variable "propertyEnquiryForm" does not exist.'29$this->source); })()), "name", [], "any"falsefalsefalse29), 'row');
  150.         yield "
  151.                         ";
  152.         // line 30
  153.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["propertyEnquiryForm"]) || array_key_exists("propertyEnquiryForm"$context) ? $context["propertyEnquiryForm"] : (function () { throw new RuntimeError('Variable "propertyEnquiryForm" does not exist.'30$this->source); })()), "email", [], "any"falsefalsefalse30), 'row');
  154.         yield "
  155.                         ";
  156.         // line 31
  157.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["propertyEnquiryForm"]) || array_key_exists("propertyEnquiryForm"$context) ? $context["propertyEnquiryForm"] : (function () { throw new RuntimeError('Variable "propertyEnquiryForm" does not exist.'31$this->source); })()), "phone", [], "any"falsefalsefalse31), 'row');
  158.         yield "
  159.                         ";
  160.         // line 32
  161.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["propertyEnquiryForm"]) || array_key_exists("propertyEnquiryForm"$context) ? $context["propertyEnquiryForm"] : (function () { throw new RuntimeError('Variable "propertyEnquiryForm" does not exist.'32$this->source); })()), "message", [], "any"falsefalsefalse32), 'row', ["attr" => ["rows" => 8]]);
  162.         yield "
  163.                         ";
  164.         // line 34
  165.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["propertyEnquiryForm"]) || array_key_exists("propertyEnquiryForm"$context) ? $context["propertyEnquiryForm"] : (function () { throw new RuntimeError('Variable "propertyEnquiryForm" does not exist.'34$this->source); })()), "save", [], "any"falsefalsefalse34), 'widget');
  166.         yield "
  167.                     ";
  168.         // line 35
  169.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["propertyEnquiryForm"]) || array_key_exists("propertyEnquiryForm"$context) ? $context["propertyEnquiryForm"] : (function () { throw new RuntimeError('Variable "propertyEnquiryForm" does not exist.'35$this->source); })()), 'form_end');
  170.         yield "
  171.                 </div>
  172.             </div>
  173.         </div>
  174.     </div>
  175. ";
  176.         
  177.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  178.         
  179.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  180.         
  181.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  182.         yield from [];
  183.     }
  184.     /**
  185.      * @codeCoverageIgnore
  186.      */
  187.     public function getTemplateName(): string
  188.     {
  189.         return "Frontend/Properties/propertyEnquiry.html.twig";
  190.     }
  191.     /**
  192.      * @codeCoverageIgnore
  193.      */
  194.     public function isTraitable(): bool
  195.     {
  196.         return false;
  197.     }
  198.     /**
  199.      * @codeCoverageIgnore
  200.      */
  201.     public function getDebugInfo(): array
  202.     {
  203.         return array (  203 => 35,  199 => 34,  194 => 32,  190 => 31,  186 => 30,  182 => 29,  178 => 28,  161 => 14,  154 => 12,  150 => 10,  134 => 9,  119 => 6,  103 => 5,  71 => 3,  42 => 1,);
  204.     }
  205.     public function getSourceContext(): Source
  206.     {
  207.         return new Source("{% extends 'Frontend/_templates/default.html.twig' %}
  208. {% block page_title %}Enquire About {{ property.address2 }}, {{ property.area.name }}{% endblock %}
  209. {% block meta_tags %}
  210. {% endblock %}
  211. {% block content %}
  212.     <div class=\"block-heading\">
  213.         <div class=\"container\">
  214.             <h1>Enquire About {{ property.address2 }}, {{ property.area.name }}</h1>
  215.             <p class=\"sub-title\">
  216.                 Property reference: #{{ property.reference }}
  217.             </p>
  218.         </div>
  219.     </div>
  220.     <div class=\"block-text\">
  221.         <div class=\"container\">
  222.             <p class=\"mb-5 text-center\">
  223.                 Leave your details below and we'll get back to you as soon as we can.<br/>
  224.                 If you're interested in any other properties please let us know.
  225.             </p>
  226.             <div class=\"row\">
  227.                 <div class=\"offset-md-3 col-md-6\">
  228.                     {{ form_start(propertyEnquiryForm) }}
  229.                         {{ form_row(propertyEnquiryForm.name) }}
  230.                         {{ form_row(propertyEnquiryForm.email) }}
  231.                         {{ form_row(propertyEnquiryForm.phone) }}
  232.                         {{ form_row(propertyEnquiryForm.message, {attr: {rows: 8}}) }}
  233.                         {{ form_widget(propertyEnquiryForm.save) }}
  234.                     {{ form_end(propertyEnquiryForm) }}
  235.                 </div>
  236.             </div>
  237.         </div>
  238.     </div>
  239. {% endblock %}""Frontend/Properties/propertyEnquiry.html.twig""/home/cwd-jm-interlet-group/htdocs/interlet-group.cwd-jm.com/templates/Frontend/Properties/propertyEnquiry.html.twig");
  240.     }
  241. }