<?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;
/* security/request.html.twig */
class __TwigTemplate_a48dda408dd12e94461a563094857502 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 3
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/request.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/request.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "security/request.html.twig", 3);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 5
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "Reset your password";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 7
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 8
yield "<div style=\"background-color: rgba(220, 184, 159, 0.1) !important; height: 100vh;\">
<script src=\"https://kit.fontawesome.com/2353d98bde.js\" crossorigin=\"anonymous\"></script>
<div class=\"container d-flex justify-content-center align-items-center min-vh-100\">
<div class=\"row justify-content-center w-100\">
<div class=\"col-lg-6 col-md-8 col-12\">
<div class=\"card\">
<div class=\"card-header color_background_vieux_rose\">
<h2 class=\"text-center\">Espace Consultations</h2>
</div>
<div class=\"card-body\">
<h4>Nous allons t'envoyer un lien pour réinitialiser ton mot de passe</h4>
";
// line 21
yield " ";
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["requestForm"]) || array_key_exists("requestForm", $context) ? $context["requestForm"] : (function () { throw new RuntimeError('Variable "requestForm" does not exist.', 21, $this->source); })()), 'form_start');
yield "
<div class=\"mb-3\">
";
// line 23
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["requestForm"]) || array_key_exists("requestForm", $context) ? $context["requestForm"] : (function () { throw new RuntimeError('Variable "requestForm" does not exist.', 23, $this->source); })()), "email", [], "any", false, false, false, 23), 'row', ["label" => "Adresse e-mail", "attr" => ["class" => "form-control", "autofocus" => true]]);
// line 26
yield "
</div>
<div class=\"row\">
<div class=\"col-12 col-md-5 col-lg-5\">
<button type=\"submit\" class=\"btn color_background_vieux_rose w-100\">Recevoir le lien</button>
</div>
</div>
";
// line 33
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["requestForm"]) || array_key_exists("requestForm", $context) ? $context["requestForm"] : (function () { throw new RuntimeError('Variable "requestForm" does not exist.', 33, $this->source); })()), 'form_end');
yield "
";
// line 34
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 34, $this->source); })()), "flashes", ["success"], "method", false, false, false, 34));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 35
yield " <script>
alert('";
// line 36
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["message"], "html", null, true);
yield "');
</script>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 39
yield " </div>
</div>
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "security/request.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 141 => 39, 132 => 36, 129 => 35, 125 => 34, 121 => 33, 112 => 26, 110 => 23, 104 => 21, 90 => 8, 80 => 7, 60 => 5, 37 => 3,);
}
public function getSourceContext()
{
return new Source("{# templates/reset_password/request.html.twig #}
{% extends 'base.html.twig' %}
{% block title %}Reset your password{% endblock %}
{% block body %}
<div style=\"background-color: rgba(220, 184, 159, 0.1) !important; height: 100vh;\">
<script src=\"https://kit.fontawesome.com/2353d98bde.js\" crossorigin=\"anonymous\"></script>
<div class=\"container d-flex justify-content-center align-items-center min-vh-100\">
<div class=\"row justify-content-center w-100\">
<div class=\"col-lg-6 col-md-8 col-12\">
<div class=\"card\">
<div class=\"card-header color_background_vieux_rose\">
<h2 class=\"text-center\">Espace Consultations</h2>
</div>
<div class=\"card-body\">
<h4>Nous allons t'envoyer un lien pour réinitialiser ton mot de passe</h4>
{# Intégration du formulaire de réinitialisation de mot de passe généré par Symfony #}
{{ form_start(requestForm) }}
<div class=\"mb-3\">
{{ form_row(requestForm.email, {
'label': 'Adresse e-mail',
'attr': { 'class': 'form-control', 'autofocus': true }
}) }}
</div>
<div class=\"row\">
<div class=\"col-12 col-md-5 col-lg-5\">
<button type=\"submit\" class=\"btn color_background_vieux_rose w-100\">Recevoir le lien</button>
</div>
</div>
{{ form_end(requestForm) }}
{% for message in app.flashes('success') %}
<script>
alert('{{ message }}');
</script>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
{% endblock %}
", "security/request.html.twig", "/home/lesverw/consultation/templates/security/request.html.twig");
}
}