var/cache/dev/twig/e1/e19a1fc81fdc08ed7e30acaf10dc7d15.php line 101

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. /* reset_password/request.html.twig */
  16. class __TwigTemplate_ddf50105e25ee664079fde3e29afdef3 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.             'body' => [$this'block_body'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  32.     {
  33.         // line 1
  34.         return "base.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = []): iterable
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""reset_password/request.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""reset_password/request.html.twig"));
  43.         $this->parent $this->loadTemplate("base.html.twig""reset_password/request.html.twig"1);
  44.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 3
  51.     /**
  52.      * @return iterable<null|scalar|\Stringable>
  53.      */
  54.     public function block_body(array $context, array $blocks = []): iterable
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  61.         // line 4
  62.         yield "    <!-- ============================================================== -->
  63.     <!-- Preloader - style you can find in spinners.css -->
  64.     <!-- ============================================================== -->
  65.     <div class=\"preloader\">
  66.         <svg class=\"circular\" viewBox=\"25 25 50 50\">
  67.             <circle class=\"path\" cx=\"50\" cy=\"50\" r=\"20\" fill=\"none\" stroke-width=\"2\" stroke-miterlimit=\"10\" /> </svg>
  68.     </div>
  69.     <!-- ============================================================== -->
  70.     <!-- Main wrapper - style you can find in pages.scss -->
  71.     <!-- ============================================================== -->
  72.     <section id=\"wrapper\">
  73.         <div class=\"login-register\" style=\"background-image:url(";
  74.         // line 15
  75.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/background/login-register.jpg"), "html"nulltrue);
  76.         yield ");\">
  77. \t\t\t<div class=\"row logoHome\">
  78. \t\t\t\t<p class=\"text-center\" ><img src=\"";
  79.         // line 17
  80.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/logo.png"), "html"nulltrue);
  81.         yield "\"/></p>
  82. \t\t\t</div>
  83.             <div class=\"login-box card\">
  84.                 <div class=\"card-body\">
  85.                     ";
  86.         // line 21
  87.         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"]]);
  88.         yield "                    
  89. \t\t\t\t\t\t<div class=\"form-group \">
  90.                             <div class=\"col-xs-12 \">
  91.                                 <h3 class=\"box-title m-b-20\">RESTABLECER CONTRASEÑA</h3>
  92.                                 <p class=\"text-muted font-14\">Introduce tu email y te enviaremos un mensaje con instrucciones para restablecer tu contraseña.</p>
  93.                             </div>
  94.                         </div>
  95.                         <div class=\"form-group \">
  96.                             <div class=\"col-xs-12\">
  97.                                 ";
  98.         // line 30
  99.         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"falsefalsefalse30), 'widget', ["attr" => ["class" => "form-control"]]);
  100.         yield "                                
  101.                             </div>
  102.                             ";
  103.         // line 32
  104.         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"falsefalsefalse32), 'errors');
  105.         yield "
  106.                         </div>
  107.                         <div class=\"form-group text-center m-t-20\">
  108.                             <div class=\"col-xs-12\">
  109.                                 <button class=\"btn btn-primary btn-lg btn-block waves-effect waves-light\" type=\"submit\">Enviar</button>
  110.                             </div>
  111.                         </div>
  112.                         ";
  113.         // line 39
  114.         $context['_parent'] = $context;
  115.         $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"falsefalsefalse39));
  116.         foreach ($context['_seq'] as $context["_key"] => $context["flashError"]) {
  117.             yield "    
  118.                             <div class=\"alert alert-warning alert-dismissible\" role=\"alert\">
  119.                                 <h3 class=\"text-warning\"><i class=\"fa fa-exclamation-triangle\"></i> Alerta</h3> ";
  120.             // line 41
  121.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flashError"], "html"nulltrue);
  122.             yield "
  123.                                 <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"alert\" aria-label=\"Close\"></button>
  124.                             </div>
  125.                         ";
  126.         }
  127.         $_parent $context['_parent'];
  128.         unset($context['_seq'], $context['_key'], $context['flashError'], $context['_parent']);
  129.         $context array_intersect_key($context$_parent) + $_parent;
  130.         // line 45
  131.         yield "\t\t\t\t\t\t<div class=\"form-group row\">
  132.                             <div class=\"col-md-12 font-14 text-center\">
  133.                                 <a href=\"";
  134.         // line 47
  135.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  136.         yield "\" class=\"text-center\"><i class=\"fa fa-lock m-r-5\"></i> Acceder</a> 
  137. \t\t\t\t\t\t\t</div>
  138.                         </div>
  139.                     ";
  140.         // line 50
  141.         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');
  142.         yield "
  143.                 </div>
  144.             </div>
  145.         </div>
  146.     </section>
  147.     <!-- ============================================================== -->
  148.     <!-- End Wrapper -->
  149.     <!-- ============================================================== -->
  150.     
  151. ";
  152.         
  153.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  154.         
  155.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  156.         yield from [];
  157.     }
  158.     /**
  159.      * @codeCoverageIgnore
  160.      */
  161.     public function getTemplateName(): string
  162.     {
  163.         return "reset_password/request.html.twig";
  164.     }
  165.     /**
  166.      * @codeCoverageIgnore
  167.      */
  168.     public function isTraitable(): bool
  169.     {
  170.         return false;
  171.     }
  172.     /**
  173.      * @codeCoverageIgnore
  174.      */
  175.     public function getDebugInfo(): array
  176.     {
  177.         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,);
  178.     }
  179.     public function getSourceContext(): Source
  180.     {
  181.         return new Source("{% extends 'base.html.twig' %}
  182. {% block body %}
  183.     <!-- ============================================================== -->
  184.     <!-- Preloader - style you can find in spinners.css -->
  185.     <!-- ============================================================== -->
  186.     <div class=\"preloader\">
  187.         <svg class=\"circular\" viewBox=\"25 25 50 50\">
  188.             <circle class=\"path\" cx=\"50\" cy=\"50\" r=\"20\" fill=\"none\" stroke-width=\"2\" stroke-miterlimit=\"10\" /> </svg>
  189.     </div>
  190.     <!-- ============================================================== -->
  191.     <!-- Main wrapper - style you can find in pages.scss -->
  192.     <!-- ============================================================== -->
  193.     <section id=\"wrapper\">
  194.         <div class=\"login-register\" style=\"background-image:url({{ asset('assets/images/background/login-register.jpg') }});\">
  195. \t\t\t<div class=\"row logoHome\">
  196. \t\t\t\t<p class=\"text-center\" ><img src=\"{{ asset('assets/images/logo.png') }}\"/></p>
  197. \t\t\t</div>
  198.             <div class=\"login-box card\">
  199.                 <div class=\"card-body\">
  200.                     {{ form_start(requestForm, {'attr': {class: 'form-horizontal form-material','novalidate':'novalidate'} }) }}                    
  201. \t\t\t\t\t\t<div class=\"form-group \">
  202.                             <div class=\"col-xs-12 \">
  203.                                 <h3 class=\"box-title m-b-20\">RESTABLECER CONTRASEÑA</h3>
  204.                                 <p class=\"text-muted font-14\">Introduce tu email y te enviaremos un mensaje con instrucciones para restablecer tu contraseña.</p>
  205.                             </div>
  206.                         </div>
  207.                         <div class=\"form-group \">
  208.                             <div class=\"col-xs-12\">
  209.                                 {{ form_widget(requestForm.email, {'attr': {class: 'form-control'} }) }}                                
  210.                             </div>
  211.                             {{ form_errors(requestForm.email) }}
  212.                         </div>
  213.                         <div class=\"form-group text-center m-t-20\">
  214.                             <div class=\"col-xs-12\">
  215.                                 <button class=\"btn btn-primary btn-lg btn-block waves-effect waves-light\" type=\"submit\">Enviar</button>
  216.                             </div>
  217.                         </div>
  218.                         {% for flashError in app.flashes('reset_password_error') %}    
  219.                             <div class=\"alert alert-warning alert-dismissible\" role=\"alert\">
  220.                                 <h3 class=\"text-warning\"><i class=\"fa fa-exclamation-triangle\"></i> Alerta</h3> {{ flashError }}
  221.                                 <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"alert\" aria-label=\"Close\"></button>
  222.                             </div>
  223.                         {% endfor %}
  224. \t\t\t\t\t\t<div class=\"form-group row\">
  225.                             <div class=\"col-md-12 font-14 text-center\">
  226.                                 <a href=\"{{ path('app_login') }}\" class=\"text-center\"><i class=\"fa fa-lock m-r-5\"></i> Acceder</a> 
  227. \t\t\t\t\t\t\t</div>
  228.                         </div>
  229.                     {{ form_end(requestForm) }}
  230.                 </div>
  231.             </div>
  232.         </div>
  233.     </section>
  234.     <!-- ============================================================== -->
  235.     <!-- End Wrapper -->
  236.     <!-- ============================================================== -->
  237.     
  238. {% endblock %}""reset_password/request.html.twig""/var/www/vhosts/backend-dev.addvance3d.com/httpdocs/addvancesymfony/templates/reset_password/request.html.twig");
  239.     }
  240. }