<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* security/forgot_password.html.twig */
class __TwigTemplate_1decd979a2f366656938de8465fda86d1aba062fa5a7c7c1ca095dad19effc16 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'contentBody' => [$this, 'block_contentBody'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/forgot_password.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/forgot_password.html.twig"));
$this->parent = $this->loadTemplate("layout.html.twig", "security/forgot_password.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_contentBody(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentBody"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentBody"));
// line 4
yield " ";
$context["title"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "title", [], "any", true, true, false, 4)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "title", [], "any", false, false, false, 4))) : (""));
// line 5
yield "
<!-- Main content -->
<div class=\"content container mt-5\">
<div class=\"row justify-content-center d-flex\">
<!-- Signup Section -->
<div class=\"col-md-7 d-flex align-items-stretch\">
<div class=\"form-container p-4 bg-white shadow-sm\">
<h2 class=\"header-text text-center\">Mot de passe oublié</h2>
<div id=\"id_notification\"></div>
";
// line 14
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');
yield "
<div class=\"row\">
<div class=\"col-md-12\">
";
// line 17
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", false, false, false, 17), 'widget');
yield "
</div>
</div>
<div class=\"text-center no-padding-top\">
<button class=\"btn btn-kl-form-input btn-custom mt-4\" type=\"submit\">Envoyer</button>
</div>
";
// line 23
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');
yield "
</div>
</div>
</div>
</div>
<style type=\"text/css\">
.no-padding-top {
padding-top: 0 !important;
margin-top: 0 !important;
}
/* Background image styling */
body {
background-image: url('/assets/images/bg_contact.jpg');
background-repeat: no-repeat;
background-size: cover; /* Fait en sorte que l'image remplisse tout l'écran */
background-position: center; /* Centre l'image pour éviter les décalages */
background-attachment: fixed; /* Fixe l'image en place lors du défilement */
}
.big-wrapper {
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) */
}
</style>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "security/forgot_password.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 105 => 23, 96 => 17, 90 => 14, 79 => 5, 76 => 4, 63 => 3, 40 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"layout.html.twig\" %}
{% block contentBody %}
{% set title = content.title|default %}
<!-- Main content -->
<div class=\"content container mt-5\">
<div class=\"row justify-content-center d-flex\">
<!-- Signup Section -->
<div class=\"col-md-7 d-flex align-items-stretch\">
<div class=\"form-container p-4 bg-white shadow-sm\">
<h2 class=\"header-text text-center\">Mot de passe oublié</h2>
<div id=\"id_notification\"></div>
{{ form_start(form) }}
<div class=\"row\">
<div class=\"col-md-12\">
{{ form_widget(form.email) }}
</div>
</div>
<div class=\"text-center no-padding-top\">
<button class=\"btn btn-kl-form-input btn-custom mt-4\" type=\"submit\">Envoyer</button>
</div>
{{ form_end(form) }}
</div>
</div>
</div>
</div>
<style type=\"text/css\">
.no-padding-top {
padding-top: 0 !important;
margin-top: 0 !important;
}
/* Background image styling */
body {
background-image: url('/assets/images/bg_contact.jpg');
background-repeat: no-repeat;
background-size: cover; /* Fait en sorte que l'image remplisse tout l'écran */
background-position: center; /* Centre l'image pour éviter les décalages */
background-attachment: fixed; /* Fixe l'image en place lors du défilement */
}
.big-wrapper {
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) */
}
</style>
{% endblock %}
", "security/forgot_password.html.twig", "/home/coworking/www_preprod/templates/security/forgot_password.html.twig");
}
}