<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* Frontend/Properties/propertyEnquiry.html.twig */
class __TwigTemplate_f1c6ea2cd96bb8c9a3eeaa565f3e1f6b extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'page_title' => [$this, 'block_page_title'],
'meta_tags' => [$this, 'block_meta_tags'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "Frontend/_templates/default.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Frontend/Properties/propertyEnquiry.html.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Frontend/Properties/propertyEnquiry.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Frontend/Properties/propertyEnquiry.html.twig"));
$this->parent = $this->load("Frontend/_templates/default.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_page_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));
yield "Enquire About ";
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", false, false, false, 3), "html", null, true);
yield ", ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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); })()), "area", [], "any", false, false, false, 3), "name", [], "any", false, false, false, 3), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
yield from [];
}
// line 5
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_meta_tags(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_tags"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_tags"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_tags"));
// line 6
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
yield from [];
}
// line 9
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__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 10
yield " <div class=\"block-heading\">
<div class=\"container\">
<h1>Enquire About ";
// line 12
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", false, false, false, 12), "html", null, true);
yield ", ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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); })()), "area", [], "any", false, false, false, 12), "name", [], "any", false, false, false, 12), "html", null, true);
yield "</h1>
<p class=\"sub-title\">
Property reference: #";
// line 14
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", false, false, false, 14), "html", null, true);
yield "
</p>
</div>
</div>
<div class=\"block-text\">
<div class=\"container\">
<p class=\"mb-5 text-center\">
Leave your details below and we'll get back to you as soon as we can.<br/>
If you're interested in any other properties please let us know.
</p>
<div class=\"row\">
<div class=\"offset-md-3 col-md-6\">
";
// line 28
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');
yield "
";
// line 29
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", false, false, false, 29), 'row');
yield "
";
// line 30
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", false, false, false, 30), 'row');
yield "
";
// line 31
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", false, false, false, 31), 'row');
yield "
";
// line 32
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", false, false, false, 32), 'row', ["attr" => ["rows" => 8]]);
yield "
";
// line 34
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", false, false, false, 34), 'widget');
yield "
";
// line 35
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');
yield "
</div>
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "Frontend/Properties/propertyEnquiry.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
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,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'Frontend/_templates/default.html.twig' %}
{% block page_title %}Enquire About {{ property.address2 }}, {{ property.area.name }}{% endblock %}
{% block meta_tags %}
{% endblock %}
{% block content %}
<div class=\"block-heading\">
<div class=\"container\">
<h1>Enquire About {{ property.address2 }}, {{ property.area.name }}</h1>
<p class=\"sub-title\">
Property reference: #{{ property.reference }}
</p>
</div>
</div>
<div class=\"block-text\">
<div class=\"container\">
<p class=\"mb-5 text-center\">
Leave your details below and we'll get back to you as soon as we can.<br/>
If you're interested in any other properties please let us know.
</p>
<div class=\"row\">
<div class=\"offset-md-3 col-md-6\">
{{ form_start(propertyEnquiryForm) }}
{{ form_row(propertyEnquiryForm.name) }}
{{ form_row(propertyEnquiryForm.email) }}
{{ form_row(propertyEnquiryForm.phone) }}
{{ form_row(propertyEnquiryForm.message, {attr: {rows: 8}}) }}
{{ form_widget(propertyEnquiryForm.save) }}
{{ form_end(propertyEnquiryForm) }}
</div>
</div>
</div>
</div>
{% endblock %}", "Frontend/Properties/propertyEnquiry.html.twig", "/home/cwd-jm-interlet-group/htdocs/interlet-group.cwd-jm.com/templates/Frontend/Properties/propertyEnquiry.html.twig");
}
}