var/cache/dev/twig/db/dbffa1fd0a5017348162eee7859da170.php line 58

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @PimcorePortalEngine/auth/login.html.twig */
  14. class __TwigTemplate_3980c79c687e6069bd7c330927929e26 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'navbar' => [$this'block_navbar'],
  24.             'footer' => [$this'block_footer'],
  25.             'content' => [$this'block_content'],
  26.             'login_background' => [$this'block_login_background'],
  27.             'login_content' => [$this'block_login_content'],
  28.             'logo' => [$this'block_logo'],
  29.             'form' => [$this'block_form'],
  30.             'headline' => [$this'block_headline'],
  31.             'error_message' => [$this'block_error_message'],
  32.             'form_content' => [$this'block_form_content'],
  33.             'password_recover' => [$this'block_password_recover'],
  34.         ];
  35.     }
  36.     protected function doGetParent(array $context)
  37.     {
  38.         // line 1
  39.         return "@PimcorePortalEngine/layout/login.html.twig";
  40.     }
  41.     protected function doDisplay(array $context, array $blocks = [])
  42.     {
  43.         $macros $this->macros;
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@PimcorePortalEngine/auth/login.html.twig"));
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@PimcorePortalEngine/auth/login.html.twig"));
  48.         $this->parent $this->loadTemplate("@PimcorePortalEngine/layout/login.html.twig""@PimcorePortalEngine/auth/login.html.twig"1);
  49.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  50.         
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  52.         
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  54.     }
  55.     // line 3
  56.     public function block_navbar($context, array $blocks = [])
  57.     {
  58.         $macros $this->macros;
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar"));
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar"));
  63.         
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  65.         
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  67.     }
  68.     // line 6
  69.     public function block_footer($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  76.         
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  78.         
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  80.     }
  81.     // line 9
  82.     public function block_content($context, array $blocks = [])
  83.     {
  84.         $macros $this->macros;
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  88.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  89.         // line 10
  90.         echo "    <div class=\"login\">
  91.         ";
  92.         // line 11
  93.         $this->displayBlock('login_background'$context$blocks);
  94.         // line 14
  95.         echo "
  96.         ";
  97.         // line 15
  98.         $this->displayBlock('login_content'$context$blocks);
  99.         // line 64
  100.         echo "    </div>
  101. ";
  102.         
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  104.         
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  106.     }
  107.     // line 11
  108.     public function block_login_background($context, array $blocks = [])
  109.     {
  110.         $macros $this->macros;
  111.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  112.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""login_background"));
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  114.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""login_background"));
  115.         // line 12
  116.         echo "            <div class=\"login__bg\" style=\"background-image: url('";
  117.         echo twig_escape_filter($this->env$this->extensions['Pimcore\Bundle\PortalEngineBundle\Twig\PortalImagesExtension']->getBackgroundImagePath(), "html"nulltrue);
  118.         echo "')\"></div>
  119.         ";
  120.         
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  122.         
  123.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  124.     }
  125.     // line 15
  126.     public function block_login_content($context, array $blocks = [])
  127.     {
  128.         $macros $this->macros;
  129.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""login_content"));
  131.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  132.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""login_content"));
  133.         // line 16
  134.         echo "            <div class=\"login__content\">
  135.                 ";
  136.         // line 17
  137.         $this->displayBlock('logo'$context$blocks);
  138.         // line 20
  139.         echo "
  140.                 ";
  141.         // line 21
  142.         $this->displayBlock('form'$context$blocks);
  143.         // line 62
  144.         echo "            </div>
  145.         ";
  146.         
  147.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  148.         
  149.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  150.     }
  151.     // line 17
  152.     public function block_logo($context, array $blocks = [])
  153.     {
  154.         $macros $this->macros;
  155.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  156.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""logo"));
  157.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  158.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""logo"));
  159.         // line 18
  160.         echo "                    <img class=\"img-fluid\" src=\"";
  161.         echo twig_escape_filter($this->env$this->extensions['Pimcore\Bundle\PortalEngineBundle\Twig\PortalImagesExtension']->getLogoImagePath(twig_constant("Pimcore\\Bundle\\PortalEngineBundle\\Enum\\ImageThumbnails::LOGO")), "html"nulltrue);
  162.         echo "\">
  163.                 ";
  164.         
  165.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  166.         
  167.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  168.     }
  169.     // line 21
  170.     public function block_form($context, array $blocks = [])
  171.     {
  172.         $macros $this->macros;
  173.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  174.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""form"));
  175.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  176.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""form"));
  177.         // line 22
  178.         echo "                    <div class=\"mt-5\">
  179.                         ";
  180.         // line 23
  181.         echo         $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_start', ["attr" => ["class" => """action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("pimcore_portalengine_auth_login")]]);
  182.         echo "
  183.                             ";
  184.         // line 24
  185.         $this->displayBlock('headline'$context$blocks);
  186.         // line 27
  187.         echo "
  188.                             ";
  189.         // line 28
  190.         $this->displayBlock('error_message'$context$blocks);
  191.         // line 33
  192.         echo "
  193.                             ";
  194.         // line 34
  195.         $this->displayBlock('form_content'$context$blocks);
  196.         // line 52
  197.         echo "                        ";
  198.         echo         $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.'52$this->source); })()), 'form_end');
  199.         echo "
  200.                         ";
  201.         // line 54
  202.         $this->displayBlock('password_recover'$context$blocks);
  203.         // line 59
  204.         echo "
  205.                     </div>
  206.                 ";
  207.         
  208.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  209.         
  210.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  211.     }
  212.     // line 24
  213.     public function block_headline($context, array $blocks = [])
  214.     {
  215.         $macros $this->macros;
  216.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  217.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headline"));
  218.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  219.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headline"));
  220.         // line 25
  221.         echo "                                <h1 class=\"login__content__title mb-4\">";
  222.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("portal-engine.auth.login-form.headline", ["%name%" => (isset($context["portalName"]) || array_key_exists("portalName"$context) ? $context["portalName"] : (function () { throw new RuntimeError('Variable "portalName" does not exist.'25$this->source); })())]), "html"nulltrue);
  223.         echo "</h1>
  224.                             ";
  225.         
  226.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  227.         
  228.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  229.     }
  230.     // line 28
  231.     public function block_error_message($context, array $blocks = [])
  232.     {
  233.         $macros $this->macros;
  234.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  235.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""error_message"));
  236.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  237.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""error_message"));
  238.         // line 29
  239.         echo "                                ";
  240.         if ((isset($context["loginFailed"]) || array_key_exists("loginFailed"$context) ? $context["loginFailed"] : (function () { throw new RuntimeError('Variable "loginFailed" does not exist.'29$this->source); })())) {
  241.             // line 30
  242.             echo "                                    <div class=\"alert alert-danger\">";
  243.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("portal-engine.auth.login-failed"), "html"nulltrue);
  244.             echo "</div>
  245.                                 ";
  246.         }
  247.         // line 32
  248.         echo "                            ";
  249.         
  250.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  251.         
  252.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  253.     }
  254.     // line 34
  255.     public function block_form_content($context, array $blocks = [])
  256.     {
  257.         $macros $this->macros;
  258.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  259.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""form_content"));
  260.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  261.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""form_content"));
  262.         // line 35
  263.         echo "                                <div class=\"form-group\">
  264.                                     ";
  265.         // line 36
  266.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'36$this->source); })()), "username", [], "any"falsefalsefalse36), 'row', ["attr" => ["class" => "form-control form-control--dark"]]);
  267.         echo "
  268.                                 </div>
  269.                                 <div class=\"form-group\">
  270.                                     ";
  271.         // line 40
  272.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'40$this->source); })()), "password", [], "any"falsefalsefalse40), 'row', ["attr" => ["class" => "form-control form-control--dark"]]);
  273.         echo "
  274.                                 </div>
  275.                                 <div class=\"form-check\">
  276.                                     ";
  277.         // line 44
  278.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'44$this->source); })()), "_remember_me", [], "any"falsefalsefalse44), 'widget', ["attr" => ["class" => "form-check-input"]]);
  279.         echo "
  280.                                     ";
  281.         // line 45
  282.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'45$this->source); })()), "_remember_me", [], "any"falsefalsefalse45), 'label', ["label_attr" => ["class" => "form-check-label"]]);
  283.         echo "
  284.                                 </div>
  285.                                 <div class=\"form-group mt-2\">
  286.                                     ";
  287.         // line 49
  288.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'49$this->source); })()), "submit", [], "any"falsefalsefalse49), 'row', ["attr" => ["class" => "btn btn-block btn-primary text-uppercase"]]);
  289.         echo "
  290.                                 </div>
  291.                             ";
  292.         
  293.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  294.         
  295.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  296.     }
  297.     // line 54
  298.     public function block_password_recover($context, array $blocks = [])
  299.     {
  300.         $macros $this->macros;
  301.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  302.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""password_recover"));
  303.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  304.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""password_recover"));
  305.         // line 55
  306.         echo "                            ";
  307.         if ((isset($context["showRecoverPassword"]) || array_key_exists("showRecoverPassword"$context) ? $context["showRecoverPassword"] : (function () { throw new RuntimeError('Variable "showRecoverPassword" does not exist.'55$this->source); })())) {
  308.             // line 56
  309.             echo "                                <a href=\"";
  310.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("pimcore_portalengine_auth_recover_password");
  311.             echo "\">";
  312.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("portal-engine.auth.password-recover"), "html"nulltrue);
  313.             echo "</a>
  314.                             ";
  315.         }
  316.         // line 58
  317.         echo "                        ";
  318.         
  319.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  320.         
  321.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  322.     }
  323.     public function getTemplateName()
  324.     {
  325.         return "@PimcorePortalEngine/auth/login.html.twig";
  326.     }
  327.     public function isTraitable()
  328.     {
  329.         return false;
  330.     }
  331.     public function getDebugInfo()
  332.     {
  333.         return array (  385 => 58,  377 => 56,  374 => 55,  364 => 54,  351 => 49,  344 => 45,  340 => 44,  333 => 40,  326 => 36,  323 => 35,  313 => 34,  303 => 32,  297 => 30,  294 => 29,  284 => 28,  271 => 25,  261 => 24,  249 => 59,  247 => 54,  241 => 52,  239 => 34,  236 => 33,  234 => 28,  231 => 27,  229 => 24,  225 => 23,  222 => 22,  212 => 21,  199 => 18,  189 => 17,  178 => 62,  176 => 21,  173 => 20,  171 => 17,  168 => 16,  158 => 15,  145 => 12,  135 => 11,  124 => 64,  122 => 15,  119 => 14,  117 => 11,  114 => 10,  104 => 9,  86 => 6,  68 => 3,  45 => 1,);
  334.     }
  335.     public function getSourceContext()
  336.     {
  337.         return new Source("{% extends \"@PimcorePortalEngine/layout/login.html.twig\" %}
  338. {% block navbar %}
  339. {% endblock %}
  340. {% block footer %}
  341. {% endblock %}
  342. {% block content %}
  343.     <div class=\"login\">
  344.         {% block login_background %}
  345.             <div class=\"login__bg\" style=\"background-image: url('{{ portalEngine_images_background() }}')\"></div>
  346.         {% endblock %}
  347.         {% block login_content %}
  348.             <div class=\"login__content\">
  349.                 {% block logo %}
  350.                     <img class=\"img-fluid\" src=\"{{ portalEngine_images_logo(constant('Pimcore\\\\Bundle\\\\PortalEngineBundle\\\\Enum\\\\ImageThumbnails::LOGO')) }}\">
  351.                 {% endblock %}
  352.                 {% block form %}
  353.                     <div class=\"mt-5\">
  354.                         {{ form_start(form, {attr:{class:'', action: path('pimcore_portalengine_auth_login')}}) }}
  355.                             {% block headline %}
  356.                                 <h1 class=\"login__content__title mb-4\">{{ \"portal-engine.auth.login-form.headline\"|trans({'%name%': portalName}) }}</h1>
  357.                             {% endblock %}
  358.                             {% block error_message %}
  359.                                 {% if loginFailed %}
  360.                                     <div class=\"alert alert-danger\">{{ 'portal-engine.auth.login-failed'|trans}}</div>
  361.                                 {% endif %}
  362.                             {% endblock %}
  363.                             {% block form_content %}
  364.                                 <div class=\"form-group\">
  365.                                     {{ form_row(form.username, {attr: {class: \"form-control form-control--dark\"}}) }}
  366.                                 </div>
  367.                                 <div class=\"form-group\">
  368.                                     {{ form_row(form.password, {attr: {class: \"form-control form-control--dark\"}}) }}
  369.                                 </div>
  370.                                 <div class=\"form-check\">
  371.                                     {{ form_widget(form._remember_me, {attr: {class: \"form-check-input\"}}) }}
  372.                                     {{ form_label(form._remember_me, null, {label_attr: {class: \"form-check-label\"}}) }}
  373.                                 </div>
  374.                                 <div class=\"form-group mt-2\">
  375.                                     {{ form_row(form.submit, {'attr': {'class': 'btn btn-block btn-primary text-uppercase'}}) }}
  376.                                 </div>
  377.                             {% endblock %}
  378.                         {{ form_end(form) }}
  379.                         {% block password_recover %}
  380.                             {% if showRecoverPassword %}
  381.                                 <a href=\"{{ path('pimcore_portalengine_auth_recover_password') }}\">{{ 'portal-engine.auth.password-recover'|trans}}</a>
  382.                             {% endif %}
  383.                         {% endblock %}
  384.                     </div>
  385.                 {% endblock %}
  386.             </div>
  387.         {% endblock %}
  388.     </div>
  389. {% endblock %}
  390. ""@PimcorePortalEngine/auth/login.html.twig""/var/www/html/siteone/vendor/pimcore/portal-engine/src/Resources/views/auth/login.html.twig");
  391.     }
  392. }