var/cache/dev/twig/ca/ca3f208b6742ec96e4a1a93fc187c7b0.php line 70

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. /* Blocks/ValuationForm/Frontend/renderFrontend.html.twig */
  16. class __TwigTemplate_e17dce80a70d497b152b77378f539312 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->parent false;
  28.         $this->blocks = [
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = []): iterable
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  35.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Blocks/ValuationForm/Frontend/renderFrontend.html.twig"));
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Blocks/ValuationForm/Frontend/renderFrontend.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Blocks/ValuationForm/Frontend/renderFrontend.html.twig"));
  40.         // line 1
  41.         yield "<div class=\"block block-valuationform ";
  42.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source, ($context["data"] ?? null), "classes", [], "any"truetruefalse1)) ? (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"falsefalsefalse1), "")) : ("")), "html"nulltrue);
  43.         yield "\">
  44. \t";
  45.         // line 2
  46.         if ((($tmp CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse2), "query", [], "any"falsefalsefalse2), "get", ["sent"], "method"falsefalsefalse2)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  47.             // line 3
  48.             yield "\t\t<div class=\"bg-light rounded p-4\" style=\"margin-bottom: 80px; border-left: 4px solid #b79961;\">
  49. \t\t\t<p class=\"m-0\">
  50. \t\t\t\tThank you for submitting a valuation request!<br/>
  51. \t\t\t\tWe will be in touch with you shortly.
  52. \t\t\t</p>
  53. \t\t</div>
  54. \t";
  55.         }
  56.         // line 10
  57.         yield "
  58. \t";
  59.         // line 11
  60.         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');
  61.         yield "
  62. \t";
  63.         // line 13
  64.         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');
  65.         yield "
  66. \t\t<div class=\"row\">
  67. \t\t\t<div class=\"col-md-6\">
  68. \t\t\t\t";
  69.         // line 16
  70.         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"falsefalsefalse16), 'row');
  71.         yield "
  72. \t\t\t\t";
  73.         // line 17
  74.         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"falsefalsefalse17), 'row');
  75.         yield "
  76. \t\t\t\t";
  77.         // line 18
  78.         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"falsefalsefalse18), 'row');
  79.         yield "
  80. \t\t\t</div>
  81. \t\t\t<div class=\"col-md-6\">
  82. \t\t\t\t";
  83.         // line 21
  84.         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"falsefalsefalse21), 'row');
  85.         yield "
  86. \t\t\t\t";
  87.         // line 22
  88.         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"falsefalsefalse22), 'row');
  89.         yield "
  90. \t\t\t\t";
  91.         // line 23
  92.         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"falsefalsefalse23), 'row');
  93.         yield "
  94. \t\t\t</div>
  95. \t\t</div>
  96. \t\t<button type=\"submit\" class=\"btn btn-primary\">Submit</button>
  97. \t";
  98.         // line 28
  99.         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');
  100.         yield "
  101. </div>
  102. ";
  103.         
  104.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  105.         
  106.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  107.         
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  109.         yield from [];
  110.     }
  111.     /**
  112.      * @codeCoverageIgnore
  113.      */
  114.     public function getTemplateName(): string
  115.     {
  116.         return "Blocks/ValuationForm/Frontend/renderFrontend.html.twig";
  117.     }
  118.     /**
  119.      * @codeCoverageIgnore
  120.      */
  121.     public function isTraitable(): bool
  122.     {
  123.         return false;
  124.     }
  125.     /**
  126.      * @codeCoverageIgnore
  127.      */
  128.     public function getDebugInfo(): array
  129.     {
  130.         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,);
  131.     }
  132.     public function getSourceContext(): Source
  133.     {
  134.         return new Source("<div class=\"block block-valuationform {{ data.classes|default('') }}\">
  135. \t{% if app.request.query.get('sent') %}
  136. \t\t<div class=\"bg-light rounded p-4\" style=\"margin-bottom: 80px; border-left: 4px solid #b79961;\">
  137. \t\t\t<p class=\"m-0\">
  138. \t\t\t\tThank you for submitting a valuation request!<br/>
  139. \t\t\t\tWe will be in touch with you shortly.
  140. \t\t\t</p>
  141. \t\t</div>
  142. \t{% endif %}
  143. \t{{ form_errors(valuationForm) }}
  144. \t{{ form_start(valuationForm) }}
  145. \t\t<div class=\"row\">
  146. \t\t\t<div class=\"col-md-6\">
  147. \t\t\t\t{{ form_row(valuationForm.name) }}
  148. \t\t\t\t{{ form_row(valuationForm.email) }}
  149. \t\t\t\t{{ form_row(valuationForm.phone) }}
  150. \t\t\t</div>
  151. \t\t\t<div class=\"col-md-6\">
  152. \t\t\t\t{{ form_row(valuationForm.valuationType) }}
  153. \t\t\t\t{{ form_row(valuationForm.propertyType) }}
  154. \t\t\t\t{{ form_row(valuationForm.propertyAddress) }}
  155. \t\t\t</div>
  156. \t\t</div>
  157. \t\t<button type=\"submit\" class=\"btn btn-primary\">Submit</button>
  158. \t{{ form_end(valuationForm) }}
  159. </div>
  160. ""Blocks/ValuationForm/Frontend/renderFrontend.html.twig""/home/cwd-jm-interlet-group/htdocs/interlet-group.cwd-jm.com/templates/Blocks/ValuationForm/Frontend/renderFrontend.html.twig");
  161.     }
  162. }