var/cache/dev/twig/fd/fd211d2327f4ae396042b6b5869ba2b2.php line 38

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. /* @DcSiteBundle/Modules/order-call.html.twig */
  16. class __TwigTemplate_cac7794de5c741dfca24469eaff4bbc2 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_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@DcSiteBundle/Modules/order-call.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""@DcSiteBundle/Modules/order-call.html.twig"));
  38.         // line 1
  39.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["forms"]) || array_key_exists("forms"$context) ? $context["forms"] : (function () { throw new RuntimeError('Variable "forms" does not exist.'1$this->source); })()), "callback", [], "any"falsefalsefalse1), 'form_start', ["attr" => ["data-parent" => "order-call""class" => "forms-sm row lead-form pop-up""action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("form_order_call")]]);
  40.         yield "
  41.     ";
  42.         // line 2
  43.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["forms"]) || array_key_exists("forms"$context) ? $context["forms"] : (function () { throw new RuntimeError('Variable "forms" does not exist.'2$this->source); })()), "callback", [], "any"falsefalsefalse2), "department", [], "any"falsefalsefalse2), 'row');
  44.         yield "
  45.     <div class=\"forms__fieldset\">
  46.         <div class=\"forms__legend\">";
  47.         // line 4
  48.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("form.contact_info", [], "dc_base"), "html"nulltrue);
  49.         yield "</div>
  50.         ";
  51.         // line 5
  52.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["forms"]) || array_key_exists("forms"$context) ? $context["forms"] : (function () { throw new RuntimeError('Variable "forms" does not exist.'5$this->source); })()), "callback", [], "any"falsefalsefalse5), "name", [], "any"falsefalsefalse5), 'row');
  53.         yield "
  54.         ";
  55.         // line 6
  56.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["forms"]) || array_key_exists("forms"$context) ? $context["forms"] : (function () { throw new RuntimeError('Variable "forms" does not exist.'6$this->source); })()), "callback", [], "any"falsefalsefalse6), "phone", [], "any"falsefalsefalse6), 'row');
  57.         yield "
  58.         <div class=\"form-group checkbox style-b js-form-privacy\">
  59.             <label class=\"checkboxes__item-privacy\">
  60.                 <input type=\"checkbox\" name=\"";
  61.         // line 9
  62.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["forms"]) || array_key_exists("forms"$context) ? $context["forms"] : (function () { throw new RuntimeError('Variable "forms" does not exist.'9$this->source); })()), "callback", [], "any"falsefalsefalse9), "privacy", [], "any"falsefalsefalse9), "vars", [], "any"falsefalsefalse9), "full_name", [], "any"falsefalsefalse9), "html"nulltrue);
  63.         yield "\" value=\"";
  64.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["forms"]) || array_key_exists("forms"$context) ? $context["forms"] : (function () { throw new RuntimeError('Variable "forms" does not exist.'9$this->source); })()), "callback", [], "any"falsefalsefalse9), "privacy", [], "any"falsefalsefalse9), "vars", [], "any"falsefalsefalse9), "value", [], "any"falsefalsefalse9), "html"nulltrue);
  65.         yield "\" id=\"";
  66.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["forms"]) || array_key_exists("forms"$context) ? $context["forms"] : (function () { throw new RuntimeError('Variable "forms" does not exist.'9$this->source); })()), "callback", [], "any"falsefalsefalse9), "privacy", [], "any"falsefalsefalse9), "vars", [], "any"falsefalsefalse9), "id", [], "any"falsefalsefalse9), "html"nulltrue);
  67.         yield "\"/>
  68.                 <div id=\"check_privacy\" class=\"checkbox__checkmark form-control\"></div>
  69.                 <div class=\"checkbox__body\">";
  70.         // line 11
  71.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("callback_widget.privacy", [], "dc_base"), "html"nulltrue);
  72.         yield " <a href=\"";
  73.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["privacyUrl"]) || array_key_exists("privacyUrl"$context) ? $context["privacyUrl"] : (function () { throw new RuntimeError('Variable "privacyUrl" does not exist.'11$this->source); })()), "html"nulltrue);
  74.         yield "\" target=\"_blank\">";
  75.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("callback_widget.privacy_link", [], "dc_base"), "html"nulltrue);
  76.         yield "</a></div>
  77.             </label>
  78.         </div>
  79.         <button type=\"submit\" class=\"btn btn-primary btn-call-order\">";
  80.         // line 14
  81.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("site.order_consult", [], "dc_base"), "html"nulltrue);
  82.         yield "</button>
  83.     </div>
  84.     <div style=\"display: none\">
  85.         ";
  86.         // line 17
  87.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["forms"]) || array_key_exists("forms"$context) ? $context["forms"] : (function () { throw new RuntimeError('Variable "forms" does not exist.'17$this->source); })()), "callback", [], "any"falsefalsefalse17), 'rest');
  88.         yield "
  89.     </div>
  90. ";
  91.         // line 19
  92.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["forms"]) || array_key_exists("forms"$context) ? $context["forms"] : (function () { throw new RuntimeError('Variable "forms" does not exist.'19$this->source); })()), "callback", [], "any"falsefalsefalse19), 'form_end');
  93.         yield "
  94. ";
  95.         
  96.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  97.         
  98.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  99.         yield from [];
  100.     }
  101.     /**
  102.      * @codeCoverageIgnore
  103.      */
  104.     public function getTemplateName(): string
  105.     {
  106.         return "@DcSiteBundle/Modules/order-call.html.twig";
  107.     }
  108.     /**
  109.      * @codeCoverageIgnore
  110.      */
  111.     public function isTraitable(): bool
  112.     {
  113.         return false;
  114.     }
  115.     /**
  116.      * @codeCoverageIgnore
  117.      */
  118.     public function getDebugInfo(): array
  119.     {
  120.         return array (  101 => 19,  96 => 17,  90 => 14,  80 => 11,  71 => 9,  65 => 6,  61 => 5,  57 => 4,  52 => 2,  48 => 1,);
  121.     }
  122.     public function getSourceContext(): Source
  123.     {
  124.         return new Source("{{ form_start(forms.callback, {attr: {'data-parent': 'order-call', class: 'forms-sm row lead-form pop-up', action: path('form_order_call')} }) }}
  125.     {{ form_row(forms.callback.department) }}
  126.     <div class=\"forms__fieldset\">
  127.         <div class=\"forms__legend\">{{ 'form.contact_info'|trans({}, 'dc_base') }}</div>
  128.         {{ form_row(forms.callback.name) }}
  129.         {{ form_row(forms.callback.phone) }}
  130.         <div class=\"form-group checkbox style-b js-form-privacy\">
  131.             <label class=\"checkboxes__item-privacy\">
  132.                 <input type=\"checkbox\" name=\"{{ forms.callback.privacy.vars.full_name }}\" value=\"{{ forms.callback.privacy.vars.value }}\" id=\"{{ forms.callback.privacy.vars.id }}\"/>
  133.                 <div id=\"check_privacy\" class=\"checkbox__checkmark form-control\"></div>
  134.                 <div class=\"checkbox__body\">{{ 'callback_widget.privacy'|trans({}, 'dc_base') }} <a href=\"{{ privacyUrl }}\" target=\"_blank\">{{ 'callback_widget.privacy_link'|trans({}, 'dc_base') }}</a></div>
  135.             </label>
  136.         </div>
  137.         <button type=\"submit\" class=\"btn btn-primary btn-call-order\">{{ 'site.order_consult'|trans({}, 'dc_base') }}</button>
  138.     </div>
  139.     <div style=\"display: none\">
  140.         {{ form_rest(forms.callback) }}
  141.     </div>
  142. {{ form_end(forms.callback) }}
  143. ""@DcSiteBundle/Modules/order-call.html.twig""/var/www/vidi.ua/releases/251027-872b0c76/src/DcSiteBundle/Resources/views/Modules/order-call.html.twig");
  144.     }
  145. }