var/cache/website/dev/twig/e6/e6c3636e41669d7658e85ce395b62160cf608c6db01b0004c675f795aaef5d48.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\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. /* security/forgot_password.html.twig */
  16. class __TwigTemplate_1decd979a2f366656938de8465fda86d1aba062fa5a7c7c1ca095dad19effc16 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->blocks = [
  28.             'contentBody' => [$this'block_contentBody'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  32.     {
  33.         // line 1
  34.         return "layout.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = []): iterable
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/forgot_password.html.twig"));
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/forgot_password.html.twig"));
  43.         $this->parent $this->loadTemplate("layout.html.twig""security/forgot_password.html.twig"1);
  44.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  47.         
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  49.     }
  50.     // line 3
  51.     /**
  52.      * @return iterable<null|scalar|\Stringable>
  53.      */
  54.     public function block_contentBody(array $context, array $blocks = []): iterable
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contentBody"));
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contentBody"));
  61.         // line 4
  62.         yield "    ";
  63.         $context["title"] = ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "title", [], "any"truetruefalse4)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "title", [], "any"falsefalsefalse4))) : (""));
  64.         // line 5
  65.         yield "
  66.     <!-- Main content -->
  67.     <div class=\"content container mt-5\">
  68.         <div class=\"row justify-content-center d-flex\">
  69.             <!-- Signup Section -->
  70.             <div class=\"col-md-7 d-flex align-items-stretch\">
  71.                 <div class=\"form-container p-4 bg-white shadow-sm\">
  72.                     <h2 class=\"header-text text-center\">Mot de passe oublié</h2>
  73.                     <div id=\"id_notification\"></div>
  74.                     ";
  75.         // line 14
  76.         yield         $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.'14$this->source); })()), 'form_start');
  77.         yield "
  78.                     <div class=\"row\">
  79.                         <div class=\"col-md-12\">
  80.                             ";
  81.         // line 17
  82.         yield $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.'17$this->source); })()), "email", [], "any"falsefalsefalse17), 'widget');
  83.         yield "
  84.                         </div>
  85.                     </div>
  86.                     <div class=\"text-center no-padding-top\">
  87.                         <button class=\"btn btn-kl-form-input btn-custom mt-4\" type=\"submit\">Envoyer</button>
  88.                     </div>
  89.                     ";
  90.         // line 23
  91.         yield         $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.'23$this->source); })()), 'form_end');
  92.         yield "
  93.                 </div>
  94.             </div>
  95.         </div>
  96.     </div>
  97.     <style type=\"text/css\">
  98.         .no-padding-top {
  99.             padding-top: 0 !important;
  100.             margin-top: 0 !important;
  101.         }
  102.         /* Background image styling */
  103.         body {
  104.             background-image: url('/assets/images/bg_contact.jpg');
  105.             background-repeat: no-repeat;
  106.             background-size: cover; /* Fait en sorte que l'image remplisse tout l'écran */
  107.             background-position: center; /* Centre l'image pour éviter les décalages */
  108.             background-attachment: fixed; /* Fixe l'image en place lors du défilement */
  109.         }
  110.         .big-wrapper {
  111.             background: linear-gradient(to bottom, rgba(255, 255, 255, 1.9), rgba(255, 255, 255, 0)); /* Dégradé du haut (opaque) vers le bas (transparent) */
  112.         }
  113.     </style>
  114. ";
  115.         
  116.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  117.         
  118.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  119.         yield from [];
  120.     }
  121.     /**
  122.      * @codeCoverageIgnore
  123.      */
  124.     public function getTemplateName(): string
  125.     {
  126.         return "security/forgot_password.html.twig";
  127.     }
  128.     /**
  129.      * @codeCoverageIgnore
  130.      */
  131.     public function isTraitable(): bool
  132.     {
  133.         return false;
  134.     }
  135.     /**
  136.      * @codeCoverageIgnore
  137.      */
  138.     public function getDebugInfo(): array
  139.     {
  140.         return array (  105 => 23,  96 => 17,  90 => 14,  79 => 5,  76 => 4,  63 => 3,  40 => 1,);
  141.     }
  142.     public function getSourceContext(): Source
  143.     {
  144.         return new Source("{% extends \"layout.html.twig\" %}
  145. {% block contentBody %}
  146.     {% set title = content.title|default %}
  147.     <!-- Main content -->
  148.     <div class=\"content container mt-5\">
  149.         <div class=\"row justify-content-center d-flex\">
  150.             <!-- Signup Section -->
  151.             <div class=\"col-md-7 d-flex align-items-stretch\">
  152.                 <div class=\"form-container p-4 bg-white shadow-sm\">
  153.                     <h2 class=\"header-text text-center\">Mot de passe oublié</h2>
  154.                     <div id=\"id_notification\"></div>
  155.                     {{ form_start(form) }}
  156.                     <div class=\"row\">
  157.                         <div class=\"col-md-12\">
  158.                             {{ form_widget(form.email) }}
  159.                         </div>
  160.                     </div>
  161.                     <div class=\"text-center no-padding-top\">
  162.                         <button class=\"btn btn-kl-form-input btn-custom mt-4\" type=\"submit\">Envoyer</button>
  163.                     </div>
  164.                     {{ form_end(form) }}
  165.                 </div>
  166.             </div>
  167.         </div>
  168.     </div>
  169.     <style type=\"text/css\">
  170.         .no-padding-top {
  171.             padding-top: 0 !important;
  172.             margin-top: 0 !important;
  173.         }
  174.         /* Background image styling */
  175.         body {
  176.             background-image: url('/assets/images/bg_contact.jpg');
  177.             background-repeat: no-repeat;
  178.             background-size: cover; /* Fait en sorte que l'image remplisse tout l'écran */
  179.             background-position: center; /* Centre l'image pour éviter les décalages */
  180.             background-attachment: fixed; /* Fixe l'image en place lors du défilement */
  181.         }
  182.         .big-wrapper {
  183.             background: linear-gradient(to bottom, rgba(255, 255, 255, 1.9), rgba(255, 255, 255, 0)); /* Dégradé du haut (opaque) vers le bas (transparent) */
  184.         }
  185.     </style>
  186. {% endblock %}
  187. ""security/forgot_password.html.twig""/home/coworking/www_preprod/templates/security/forgot_password.html.twig");
  188.     }
  189. }