var/cache/dev/twig/46/46b3e0c30d7a5002fa19610300ac0122.php line 122
<?phpuse 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;/* reset_password/request.html.twig */class __TwigTemplate_20e263ae5a3d758a0b5c878ff9beb7ef 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->parent = false;$this->blocks = [];}protected function doDisplay(array $context, array $blocks = []): iterable{$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", "reset_password/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", "reset_password/request.html.twig"));// line 1yield "<!doctype html><html lang=\"fr\"><head><meta charset=\"utf-8\" /><title>SmartImmo Management — Admin</title><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"><meta content=\"SmartImmo Management est une application de gestion locative\" name=\"description\" /><meta content=\"SmartTechnology\" name=\"author\" /><link rel=\"shortcut icon\" href=\"";// line 9yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/smartimmoManagementHead.png"), "html", null, true);yield "\"><!-- Fonts --><link rel=\"preconnect\" href=\"https://fonts.googleapis.com/\"><link rel=\"preconnect\" href=\"https://fonts.gstatic.com/\" crossorigin><link href=\"https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&family=Ubuntu:wght@400;500;700&display=swap\" rel=\"stylesheet\"><link rel=\"stylesheet\" href=\"";// line 16yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/style.css"), "html", null, true);yield "\"><link rel=\"stylesheet\" href=\"";// line 17yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/reset-password-style.css"), "html", null, true);yield "\"></head><body><div class=\"auth-wrap\"><div class=\"auth-card\"><!-- Brand --><div class=\"brand-top\"><img src=\"";// line 25yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/smartImmoManagement.png"), "html", null, true);yield "\" alt=\"Smart Immo Management\" width=\"50%\"></div><!-- Title + subtitle --><div class=\"auth-head\"><h1>Espace Admin</h1></div><div class=\"auth-sub\" style=\"color: dodgerblue\">Réinitialiser votre mot de passe</div><!-- Flash errors --><div class=\"px-4 flash-stack\">";// line 38$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.', 38, $this->source); })()), "flashes", ["reset_password_error"], "method", false, false, false, 38));foreach ($context['_seq'] as $context["_key"] => $context["flashError"]) {// line 39yield " <div class=\"alert alert-danger\" role=\"alert\">";yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flashError"], "html", null, true);yield "</div>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_key'], $context['flashError'], $context['_parent']);$context = array_intersect_key($context, $_parent) + $_parent;// line 41yield " </div><!-- Body --><div class=\"auth-body\"><p class=\"text-muted mb-3\" style=\"font-size: 12px\">Entrez votre adresse e-mail (et identifiant si demandé) pour recevoir un nouveau mot de passe.</p>";// line 49yield $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.', 49, $this->source); })()), 'form_start', ["attr" => ["novalidate" => "novalidate"]]);yield "";// line 52yield " <div class=\"mb-3\" style=\"margin-bottom: 10px\"><label class=\"form-label\" for=\"";// line 53yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 53, $this->source); })()), "username", [], "any", false, false, false, 53), "vars", [], "any", false, false, false, 53), "id", [], "any", false, false, false, 53), "html", null, true);yield "\">Identifiant</label>";// line 54yield $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.', 54, $this->source); })()), "username", [], "any", false, false, false, 54), 'widget', ["attr" => ["class" => "form-control", "placeholder" => "Votre identifiant"]]);yield "";// line 55yield $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.', 55, $this->source); })()), "username", [], "any", false, false, false, 55), 'errors');yield "</div>";// line 59yield " <div class=\"mb-3\"><label class=\"form-label\" for=\"";// line 60yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 60, $this->source); })()), "email", [], "any", false, false, false, 60), "vars", [], "any", false, false, false, 60), "id", [], "any", false, false, false, 60), "html", null, true);yield "\">Adresse e-mail</label>";// line 61yield $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.', 61, $this->source); })()), "email", [], "any", false, false, false, 61), 'widget', ["attr" => ["class" => "form-control", "placeholder" => "nom@domaine.com"]]);yield "";// line 62yield $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.', 62, $this->source); })()), "email", [], "any", false, false, false, 62), 'errors');yield "</div><button class=\"btn btn-brand\" type=\"submit\" style=\"margin-top: 20px\">Demander un nouveau mot de passe</button>";// line 69yield $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.', 69, $this->source); })()), 'form_end');yield "</div><!-- Links --><div class=\"link-row\"><a class=\"btn-link\" href=\"";// line 74yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");yield "\">Se connecter</a></div></div></div><!-- JS --><!-- Safe redirect logic (moved AFTER jQuery load to avoid errors) --><script>(function(){// If a main nav exists (already logged-in layout), bounce to dashboardif (\$(\"body nav\").length > 0) {window.location.href = \"";// line 87yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_dashboard");yield "\";} else {\$(\"body div, body p\").removeClass(\"d-none\");}})();</script></body></html>";$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);yield from [];}/*** @codeCoverageIgnore*/public function getTemplateName(): string{return "reset_password/request.html.twig";}/*** @codeCoverageIgnore*/public function isTraitable(): bool{return false;}/*** @codeCoverageIgnore*/public function getDebugInfo(): array{return array ( 189 => 87, 173 => 74, 165 => 69, 155 => 62, 151 => 61, 147 => 60, 144 => 59, 138 => 55, 134 => 54, 130 => 53, 127 => 52, 122 => 49, 112 => 41, 103 => 39, 99 => 38, 83 => 25, 72 => 17, 68 => 16, 58 => 9, 48 => 1,);}public function getSourceContext(): Source{return new Source("<!doctype html><html lang=\"fr\"><head><meta charset=\"utf-8\" /><title>SmartImmo Management — Admin</title><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"><meta content=\"SmartImmo Management est une application de gestion locative\" name=\"description\" /><meta content=\"SmartTechnology\" name=\"author\" /><link rel=\"shortcut icon\" href=\"{{ asset('assets/img/smartimmoManagementHead.png') }}\"><!-- Fonts --><link rel=\"preconnect\" href=\"https://fonts.googleapis.com/\"><link rel=\"preconnect\" href=\"https://fonts.gstatic.com/\" crossorigin><link href=\"https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&family=Ubuntu:wght@400;500;700&display=swap\" rel=\"stylesheet\"><link rel=\"stylesheet\" href=\"{{ asset('assets/css/style.css') }}\"><link rel=\"stylesheet\" href=\"{{ asset('assets/css/reset-password-style.css') }}\"></head><body><div class=\"auth-wrap\"><div class=\"auth-card\"><!-- Brand --><div class=\"brand-top\"><img src=\"{{ asset('assets/img/smartImmoManagement.png') }}\" alt=\"Smart Immo Management\" width=\"50%\"></div><!-- Title + subtitle --><div class=\"auth-head\"><h1>Espace Admin</h1></div><div class=\"auth-sub\" style=\"color: dodgerblue\">Réinitialiser votre mot de passe</div><!-- Flash errors --><div class=\"px-4 flash-stack\">{% for flashError in app.flashes('reset_password_error') %}<div class=\"alert alert-danger\" role=\"alert\">{{ flashError }}</div>{% endfor %}</div><!-- Body --><div class=\"auth-body\"><p class=\"text-muted mb-3\" style=\"font-size: 12px\">Entrez votre adresse e-mail (et identifiant si demandé) pour recevoir un nouveau mot de passe.</p>{{ form_start(requestForm, {'attr': {'novalidate': 'novalidate'}}) }}{# Username (optionnel selon votre logique) #}<div class=\"mb-3\" style=\"margin-bottom: 10px\"><label class=\"form-label\" for=\"{{ requestForm.username.vars.id }}\">Identifiant</label>{{ form_widget(requestForm.username, {'attr': {'class':'form-control', 'placeholder':'Votre identifiant'}}) }}{{ form_errors(requestForm.username) }}</div>{# Email #}<div class=\"mb-3\"><label class=\"form-label\" for=\"{{ requestForm.email.vars.id }}\">Adresse e-mail</label>{{ form_widget(requestForm.email, {'attr': {'class':'form-control', 'placeholder':'nom@domaine.com'}}) }}{{ form_errors(requestForm.email) }}</div><button class=\"btn btn-brand\" type=\"submit\" style=\"margin-top: 20px\">Demander un nouveau mot de passe</button>{{ form_end(requestForm) }}</div><!-- Links --><div class=\"link-row\"><a class=\"btn-link\" href=\"{{ path('app_login') }}\">Se connecter</a></div></div></div><!-- JS --><!-- Safe redirect logic (moved AFTER jQuery load to avoid errors) --><script>(function(){// If a main nav exists (already logged-in layout), bounce to dashboardif (\$(\"body nav\").length > 0) {window.location.href = \"{{ path('app_dashboard') }}\";} else {\$(\"body div, body p\").removeClass(\"d-none\");}})();</script></body></html>", "reset_password/request.html.twig", "/home/clients/bd8cd111e9f750c60744e1a2ea7ccf8e/sites/beta-admin.smartimmo-app.com/beta-admin/templates/reset_password/request.html.twig");}}