var/cache/dev/twig/e8/e831283f5b5724cedb1dd7ebae5199a3.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. /* components/newsletter.html.twig */
  16. class __TwigTemplate_8181c3401c2eec70d0e5147a200ef1c7 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""components/newsletter.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""components/newsletter.html.twig"));
  38.         // line 1
  39.         yield "\t<!-- Newsletter Section -->
  40. \t<section class=\"bg-white dark:bg-gray-900\">
  41. \t\t<div class=\"py-8 px-4 mx-auto max-w-screen-xl lg:py-16\">
  42. \t\t\t<div class=\"mx-auto max-w-screen-md text-center\">
  43. \t\t\t\t<h2 class=\"mb-4 text-3xl font-extrabold tracking-tight text-gray-900 md:text-4xl dark:text-white\">
  44. \t\t\t\t\tS'abonner à la newsletter
  45. \t\t\t\t</h2>
  46. \t\t\t\t<p class=\"mb-8 text-lg font-normal text-gray-500 lg:text-xl dark:text-gray-400\">
  47. \t\t\t\t\tRestez au courant des progrès de la feuille de route, des annonces et des réductions exclusives, n'hésitez pas à vous inscrire avec votre email. 🙂
  48. \t\t\t\t</p>
  49. \t\t\t\t";
  50.         // line 12
  51.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formNewsletter"]) || array_key_exists("formNewsletter"$context) ? $context["formNewsletter"] : (function () { throw new RuntimeError('Variable "formNewsletter" does not exist.'12$this->source); })()), 'form_start', ["attr" => ["class" => "space-y-4"]]);
  52.         yield "
  53. \t\t\t\t<div class=\"flex flex-col sm:flex-row sm:space-x-3 sm:space-y-0 space-y-3\">
  54. \t\t\t\t\t<div class=\"flex-1\">
  55. \t\t\t\t\t\t";
  56.         // line 15
  57.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formNewsletter"]) || array_key_exists("formNewsletter"$context) ? $context["formNewsletter"] : (function () { throw new RuntimeError('Variable "formNewsletter" does not exist.'15$this->source); })()), "email", [], "any"falsefalsefalse15), 'widget', ["attr" => ["class" => "bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500""placeholder" => "Votre adresse email"]]);
  58.         // line 20
  59.         yield "
  60. \t\t\t\t\t</div>
  61. \t\t\t\t\t";
  62.         // line 22
  63.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["formNewsletter"]) || array_key_exists("formNewsletter"$context) ? $context["formNewsletter"] : (function () { throw new RuntimeError('Variable "formNewsletter" does not exist.'22$this->source); })()), "submit", [], "any"falsefalsefalse22), 'widget', ["attr" => ["class" => "py-2.5 px-5 text-sm font-medium text-white bg-primary-700 rounded-lg border border-primary-700 hover:bg-primary-800 focus:ring-4 focus:outline-none focus:ring-primary-300 dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800"]]);
  64.         // line 26
  65.         yield "
  66. \t\t\t\t</div>
  67. \t\t\t\t";
  68.         // line 28
  69.         yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formNewsletter"]) || array_key_exists("formNewsletter"$context) ? $context["formNewsletter"] : (function () { throw new RuntimeError('Variable "formNewsletter" does not exist.'28$this->source); })()), 'form_end');
  70.         yield "
  71. \t\t\t</div>
  72. \t\t</div>
  73. \t</section>
  74. \t<!-- Newsletter Section -->";
  75.         
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  77.         
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  79.         yield from [];
  80.     }
  81.     /**
  82.      * @codeCoverageIgnore
  83.      */
  84.     public function getTemplateName(): string
  85.     {
  86.         return "components/newsletter.html.twig";
  87.     }
  88.     /**
  89.      * @codeCoverageIgnore
  90.      */
  91.     public function isTraitable(): bool
  92.     {
  93.         return false;
  94.     }
  95.     /**
  96.      * @codeCoverageIgnore
  97.      */
  98.     public function getDebugInfo(): array
  99.     {
  100.         return array (  79 => 28,  75 => 26,  73 => 22,  69 => 20,  67 => 15,  61 => 12,  48 => 1,);
  101.     }
  102.     public function getSourceContext(): Source
  103.     {
  104.         return new Source("\t<!-- Newsletter Section -->
  105. \t<section class=\"bg-white dark:bg-gray-900\">
  106. \t\t<div class=\"py-8 px-4 mx-auto max-w-screen-xl lg:py-16\">
  107. \t\t\t<div class=\"mx-auto max-w-screen-md text-center\">
  108. \t\t\t\t<h2 class=\"mb-4 text-3xl font-extrabold tracking-tight text-gray-900 md:text-4xl dark:text-white\">
  109. \t\t\t\t\tS'abonner à la newsletter
  110. \t\t\t\t</h2>
  111. \t\t\t\t<p class=\"mb-8 text-lg font-normal text-gray-500 lg:text-xl dark:text-gray-400\">
  112. \t\t\t\t\tRestez au courant des progrès de la feuille de route, des annonces et des réductions exclusives, n'hésitez pas à vous inscrire avec votre email. 🙂
  113. \t\t\t\t</p>
  114. \t\t\t\t{{ form_start(formNewsletter, {'attr': {'class': 'space-y-4'}}) }}
  115. \t\t\t\t<div class=\"flex flex-col sm:flex-row sm:space-x-3 sm:space-y-0 space-y-3\">
  116. \t\t\t\t\t<div class=\"flex-1\">
  117. \t\t\t\t\t\t{{ form_widget(formNewsletter.email, {
  118.                         'attr': {
  119.                             'class': 'bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500',
  120.                             'placeholder': 'Votre adresse email'
  121.                         }
  122.                     }) }}
  123. \t\t\t\t\t</div>
  124. \t\t\t\t\t{{ form_widget(formNewsletter.submit, {
  125.                     'attr': {
  126.                         'class': 'py-2.5 px-5 text-sm font-medium text-white bg-primary-700 rounded-lg border border-primary-700 hover:bg-primary-800 focus:ring-4 focus:outline-none focus:ring-primary-300 dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800'
  127.                     }
  128.                 }) }}
  129. \t\t\t\t</div>
  130. \t\t\t\t{{ form_end(formNewsletter) }}
  131. \t\t\t</div>
  132. \t\t</div>
  133. \t</section>
  134. \t<!-- Newsletter Section -->""components/newsletter.html.twig""/home/u956140113/domains/sassify.fr/public_html/match-meuble/templates/components/newsletter.html.twig");
  135.     }
  136. }