<?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;
/* reset_password/request.html.twig */
class __TwigTemplate_ddf50105e25ee664079fde3e29afdef3 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 = [
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "base.html.twig";
}
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"));
$this->parent = $this->loadTemplate("base.html.twig", "reset_password/request.html.twig", 1);
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 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(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(), "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 4
yield " <!-- ============================================================== -->
<!-- Preloader - style you can find in spinners.css -->
<!-- ============================================================== -->
<div class=\"preloader\">
<svg class=\"circular\" viewBox=\"25 25 50 50\">
<circle class=\"path\" cx=\"50\" cy=\"50\" r=\"20\" fill=\"none\" stroke-width=\"2\" stroke-miterlimit=\"10\" /> </svg>
</div>
<!-- ============================================================== -->
<!-- Main wrapper - style you can find in pages.scss -->
<!-- ============================================================== -->
<section id=\"wrapper\">
<div class=\"login-register\" style=\"background-image:url(";
// line 15
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/background/login-register.jpg"), "html", null, true);
yield ");\">
\t\t\t<div class=\"row logoHome\">
\t\t\t\t<p class=\"text-center\" ><img src=\"";
// line 17
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/logo.png"), "html", null, true);
yield "\"/></p>
\t\t\t</div>
<div class=\"login-box card\">
<div class=\"card-body\">
";
// line 21
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', ["attr" => ["class" => "form-horizontal form-material", "novalidate" => "novalidate"]]);
yield "
\t\t\t\t\t\t<div class=\"form-group \">
<div class=\"col-xs-12 \">
<h3 class=\"box-title m-b-20\">RESTABLECER CONTRASEÑA</h3>
<p class=\"text-muted font-14\">Introduce tu email y te enviaremos un mensaje con instrucciones para restablecer tu contraseña.</p>
</div>
</div>
<div class=\"form-group \">
<div class=\"col-xs-12\">
";
// line 30
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.', 30, $this->source); })()), "email", [], "any", false, false, false, 30), 'widget', ["attr" => ["class" => "form-control"]]);
yield "
</div>
";
// line 32
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.', 32, $this->source); })()), "email", [], "any", false, false, false, 32), 'errors');
yield "
</div>
<div class=\"form-group text-center m-t-20\">
<div class=\"col-xs-12\">
<button class=\"btn btn-primary btn-lg btn-block waves-effect waves-light\" type=\"submit\">Enviar</button>
</div>
</div>
";
// line 39
$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.', 39, $this->source); })()), "flashes", ["reset_password_error"], "method", false, false, false, 39));
foreach ($context['_seq'] as $context["_key"] => $context["flashError"]) {
yield "
<div class=\"alert alert-warning alert-dismissible\" role=\"alert\">
<h3 class=\"text-warning\"><i class=\"fa fa-exclamation-triangle\"></i> Alerta</h3> ";
// line 41
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flashError"], "html", null, true);
yield "
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"alert\" aria-label=\"Close\"></button>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['flashError'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 45
yield "\t\t\t\t\t\t<div class=\"form-group row\">
<div class=\"col-md-12 font-14 text-center\">
<a href=\"";
// line 47
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
yield "\" class=\"text-center\"><i class=\"fa fa-lock m-r-5\"></i> Acceder</a>
\t\t\t\t\t\t\t</div>
</div>
";
// line 50
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.', 50, $this->source); })()), 'form_end');
yield "
</div>
</div>
</div>
</section>
<!-- ============================================================== -->
<!-- End Wrapper -->
<!-- ============================================================== -->
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_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 ( 155 => 50, 149 => 47, 145 => 45, 135 => 41, 128 => 39, 118 => 32, 113 => 30, 101 => 21, 94 => 17, 89 => 15, 76 => 4, 63 => 3, 40 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'base.html.twig' %}
{% block body %}
<!-- ============================================================== -->
<!-- Preloader - style you can find in spinners.css -->
<!-- ============================================================== -->
<div class=\"preloader\">
<svg class=\"circular\" viewBox=\"25 25 50 50\">
<circle class=\"path\" cx=\"50\" cy=\"50\" r=\"20\" fill=\"none\" stroke-width=\"2\" stroke-miterlimit=\"10\" /> </svg>
</div>
<!-- ============================================================== -->
<!-- Main wrapper - style you can find in pages.scss -->
<!-- ============================================================== -->
<section id=\"wrapper\">
<div class=\"login-register\" style=\"background-image:url({{ asset('assets/images/background/login-register.jpg') }});\">
\t\t\t<div class=\"row logoHome\">
\t\t\t\t<p class=\"text-center\" ><img src=\"{{ asset('assets/images/logo.png') }}\"/></p>
\t\t\t</div>
<div class=\"login-box card\">
<div class=\"card-body\">
{{ form_start(requestForm, {'attr': {class: 'form-horizontal form-material','novalidate':'novalidate'} }) }}
\t\t\t\t\t\t<div class=\"form-group \">
<div class=\"col-xs-12 \">
<h3 class=\"box-title m-b-20\">RESTABLECER CONTRASEÑA</h3>
<p class=\"text-muted font-14\">Introduce tu email y te enviaremos un mensaje con instrucciones para restablecer tu contraseña.</p>
</div>
</div>
<div class=\"form-group \">
<div class=\"col-xs-12\">
{{ form_widget(requestForm.email, {'attr': {class: 'form-control'} }) }}
</div>
{{ form_errors(requestForm.email) }}
</div>
<div class=\"form-group text-center m-t-20\">
<div class=\"col-xs-12\">
<button class=\"btn btn-primary btn-lg btn-block waves-effect waves-light\" type=\"submit\">Enviar</button>
</div>
</div>
{% for flashError in app.flashes('reset_password_error') %}
<div class=\"alert alert-warning alert-dismissible\" role=\"alert\">
<h3 class=\"text-warning\"><i class=\"fa fa-exclamation-triangle\"></i> Alerta</h3> {{ flashError }}
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"alert\" aria-label=\"Close\"></button>
</div>
{% endfor %}
\t\t\t\t\t\t<div class=\"form-group row\">
<div class=\"col-md-12 font-14 text-center\">
<a href=\"{{ path('app_login') }}\" class=\"text-center\"><i class=\"fa fa-lock m-r-5\"></i> Acceder</a>
\t\t\t\t\t\t\t</div>
</div>
{{ form_end(requestForm) }}
</div>
</div>
</div>
</section>
<!-- ============================================================== -->
<!-- End Wrapper -->
<!-- ============================================================== -->
{% endblock %}", "reset_password/request.html.twig", "/var/www/vhosts/backend-dev.addvance3d.com/httpdocs/addvancesymfony/templates/reset_password/request.html.twig");
}
}