<?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;
/* Blocks/ValuationForm/Frontend/renderFrontend.html.twig */
class __TwigTemplate_e17dce80a70d497b152b77378f539312 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->parent = false;
$this->blocks = [
];
}
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", "Blocks/ValuationForm/Frontend/renderFrontend.html.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Blocks/ValuationForm/Frontend/renderFrontend.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Blocks/ValuationForm/Frontend/renderFrontend.html.twig"));
// line 1
yield "<div class=\"block block-valuationform ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["data"] ?? null), "classes", [], "any", true, true, false, 1)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 1, $this->source); })()), "classes", [], "any", false, false, false, 1), "")) : ("")), "html", null, true);
yield "\">
\t";
// line 2
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "query", [], "any", false, false, false, 2), "get", ["sent"], "method", false, false, false, 2)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 3
yield "\t\t<div class=\"bg-light rounded p-4\" style=\"margin-bottom: 80px; border-left: 4px solid #b79961;\">
\t\t\t<p class=\"m-0\">
\t\t\t\tThank you for submitting a valuation request!<br/>
\t\t\t\tWe will be in touch with you shortly.
\t\t\t</p>
\t\t</div>
\t";
}
// line 10
yield "
\t";
// line 11
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["valuationForm"]) || array_key_exists("valuationForm", $context) ? $context["valuationForm"] : (function () { throw new RuntimeError('Variable "valuationForm" does not exist.', 11, $this->source); })()), 'errors');
yield "
\t";
// line 13
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["valuationForm"]) || array_key_exists("valuationForm", $context) ? $context["valuationForm"] : (function () { throw new RuntimeError('Variable "valuationForm" does not exist.', 13, $this->source); })()), 'form_start');
yield "
\t\t<div class=\"row\">
\t\t\t<div class=\"col-md-6\">
\t\t\t\t";
// line 16
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["valuationForm"]) || array_key_exists("valuationForm", $context) ? $context["valuationForm"] : (function () { throw new RuntimeError('Variable "valuationForm" does not exist.', 16, $this->source); })()), "name", [], "any", false, false, false, 16), 'row');
yield "
\t\t\t\t";
// line 17
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["valuationForm"]) || array_key_exists("valuationForm", $context) ? $context["valuationForm"] : (function () { throw new RuntimeError('Variable "valuationForm" does not exist.', 17, $this->source); })()), "email", [], "any", false, false, false, 17), 'row');
yield "
\t\t\t\t";
// line 18
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["valuationForm"]) || array_key_exists("valuationForm", $context) ? $context["valuationForm"] : (function () { throw new RuntimeError('Variable "valuationForm" does not exist.', 18, $this->source); })()), "phone", [], "any", false, false, false, 18), 'row');
yield "
\t\t\t</div>
\t\t\t<div class=\"col-md-6\">
\t\t\t\t";
// line 21
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["valuationForm"]) || array_key_exists("valuationForm", $context) ? $context["valuationForm"] : (function () { throw new RuntimeError('Variable "valuationForm" does not exist.', 21, $this->source); })()), "valuationType", [], "any", false, false, false, 21), 'row');
yield "
\t\t\t\t";
// line 22
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["valuationForm"]) || array_key_exists("valuationForm", $context) ? $context["valuationForm"] : (function () { throw new RuntimeError('Variable "valuationForm" does not exist.', 22, $this->source); })()), "propertyType", [], "any", false, false, false, 22), 'row');
yield "
\t\t\t\t";
// line 23
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["valuationForm"]) || array_key_exists("valuationForm", $context) ? $context["valuationForm"] : (function () { throw new RuntimeError('Variable "valuationForm" does not exist.', 23, $this->source); })()), "propertyAddress", [], "any", false, false, false, 23), 'row');
yield "
\t\t\t</div>
\t\t</div>
\t\t<button type=\"submit\" class=\"btn btn-primary\">Submit</button>
\t";
// line 28
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["valuationForm"]) || array_key_exists("valuationForm", $context) ? $context["valuationForm"] : (function () { throw new RuntimeError('Variable "valuationForm" does not exist.', 28, $this->source); })()), 'form_end');
yield "
</div>
";
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "Blocks/ValuationForm/Frontend/renderFrontend.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 111 => 28, 103 => 23, 99 => 22, 95 => 21, 89 => 18, 85 => 17, 81 => 16, 75 => 13, 70 => 11, 67 => 10, 58 => 3, 56 => 2, 51 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<div class=\"block block-valuationform {{ data.classes|default('') }}\">
\t{% if app.request.query.get('sent') %}
\t\t<div class=\"bg-light rounded p-4\" style=\"margin-bottom: 80px; border-left: 4px solid #b79961;\">
\t\t\t<p class=\"m-0\">
\t\t\t\tThank you for submitting a valuation request!<br/>
\t\t\t\tWe will be in touch with you shortly.
\t\t\t</p>
\t\t</div>
\t{% endif %}
\t{{ form_errors(valuationForm) }}
\t{{ form_start(valuationForm) }}
\t\t<div class=\"row\">
\t\t\t<div class=\"col-md-6\">
\t\t\t\t{{ form_row(valuationForm.name) }}
\t\t\t\t{{ form_row(valuationForm.email) }}
\t\t\t\t{{ form_row(valuationForm.phone) }}
\t\t\t</div>
\t\t\t<div class=\"col-md-6\">
\t\t\t\t{{ form_row(valuationForm.valuationType) }}
\t\t\t\t{{ form_row(valuationForm.propertyType) }}
\t\t\t\t{{ form_row(valuationForm.propertyAddress) }}
\t\t\t</div>
\t\t</div>
\t\t<button type=\"submit\" class=\"btn btn-primary\">Submit</button>
\t{{ form_end(valuationForm) }}
</div>
", "Blocks/ValuationForm/Frontend/renderFrontend.html.twig", "/home/cwd-jm-interlet-group/htdocs/interlet-group.cwd-jm.com/templates/Blocks/ValuationForm/Frontend/renderFrontend.html.twig");
}
}