var/cache/dev/twig/da/da2de77c7675fa9a1e48f73e47ba4e6b.php line 43

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\MacroNamespace;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Sandbox\SecurityNotAllowedTestError;
  14. use Twig\Source;
  15. use Twig\Template;
  16. use Twig\TemplateWrapper;
  17. /* front/newsletter_subscriber/_form.html.twig */
  18. class __TwigTemplate_09d163ebbfb7d4f594c1067484caba8e extends Template
  19. {
  20.     private Source $source;
  21.     /**
  22.      * @var array<string, MacroNamespace>
  23.      */
  24.     private array $macros = [];
  25.     private \Twig\Runtime\EscaperRuntime $escaper;
  26.     public function __construct(Environment $env)
  27.     {
  28.         parent::__construct($env);
  29.         $this->source = $this->getSourceContext();
  30.         $this->escaper = $env->getRuntime('Twig\Runtime\EscaperRuntime');
  31.         $this->parent = false;
  32.         $this->blocks = [
  33.         ];
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = []): iterable
  36.     {
  37.         $macros = $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/newsletter_subscriber/_form.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/newsletter_subscriber/_form.html.twig"));
  42.         // line 1
  43.         yield (string)         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 1, $this->source); })()), 'form_start');
  44.         yield "
  45. <div class=\" input-group\">
  46.     ";
  47.         // line 3
  48.         yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 3, $this->source); })()), "email", [], "any", false, false, false, 3), 'widget');
  49.         yield "
  50.     <button class=\"btn btn_theme btn_md\">";
  51.         // line 4
  52.         yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Pages.Home.Buttons.Subscribe", [], "messages_front"), "html", null, true);
  53.         yield "</button>
  54. </div>
  55. ";
  56.         // line 6
  57.         yield (string)         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 6, $this->source); })()), 'form_end');
  58.         yield "
  59. ";
  60.         
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  62.         
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  64.         return; yield;
  65.     }
  66.     /**
  67.      * @codeCoverageIgnore
  68.      */
  69.     public function getTemplateName(): string
  70.     {
  71.         return "front/newsletter_subscriber/_form.html.twig";
  72.     }
  73.     /**
  74.      * @codeCoverageIgnore
  75.      */
  76.     public function isTraitable(): bool
  77.     {
  78.         return false;
  79.     }
  80.     /**
  81.      * @codeCoverageIgnore
  82.      */
  83.     public function getDefaultEscapeStrategy(): string|false
  84.     {
  85.         return "html";
  86.     }
  87.     /**
  88.      * @codeCoverageIgnore
  89.      */
  90.     public function getDebugInfo(): array
  91.     {
  92.         return array (  67 => 6,  62 => 4,  58 => 3,  53 => 1,);
  93.     }
  94.     public function getSourceContext(): Source
  95.     {
  96.         return new Source("{{ form_start(form) }}
  97. <div class=\" input-group\">
  98.     {{ form_widget(form.email) }}
  99.     <button class=\"btn btn_theme btn_md\">{{ \x27Pages.Home.Buttons.Subscribe\x27|trans({} , \x27messages_front\x27) }}</button>
  100. </div>
  101. {{ form_end(form) }}
  102. ", "front/newsletter_subscriber/_form.html.twig", "/home/sunazur/public_html/templates/front/newsletter_subscriber/_form.html.twig");
  103.     }
  104. }