var/cache/dev/twig/b9/b9a5c52d361c79121f3395f112aa045eafa4ea22b90397f0c6e67dd239597440.php line 154

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. /* security/login.html.twig */
  14. class __TwigTemplate_6c99c4c7d50cfd76f771a7ae99dbf82bf1b058f44ae1eb7d04a5ebf919fee2ad 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.             'headerTitle' => [$this'block_headerTitle'],
  24.             'messages' => [$this'block_messages'],
  25.             'body' => [$this'block_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base_login.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/login.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/login.html.twig"));
  40.         $this->parent $this->loadTemplate("base_login.html.twig""security/login.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 2
  48.     public function block_headerTitle($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerTitle"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerTitle"));
  55.         echo "Login";
  56.         
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  58.         
  59.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  60.     }
  61.     // line 3
  62.     public function block_messages($context, array $blocks = [])
  63.     {
  64.         $macros $this->macros;
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""messages"));
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""messages"));
  69.         
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  71.         
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  73.     }
  74.     // line 5
  75.     public function block_body($context, array $blocks = [])
  76.     {
  77.         $macros $this->macros;
  78.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  80.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  82.         // line 6
  83.         echo "
  84.     <div class=\"row mt-3\">
  85.         <div class=\"col-sm-12 login-logo text-center\">
  86.             <img src=\"";
  87.         // line 9
  88.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("layout/dist/images/logo.svg"), "html"nulltrue);
  89.         echo "\" width=\"150px\">
  90.         </div>
  91.     </div>
  92.     <div class=\"row login justify-content-center mt-3\">
  93.         <div class=\"col-xl-10 col-lg-12 col-md-9\">
  94.             <div class=\"card o-hidden border-0 shadow-lg my-5\">
  95.                 <div class=\"card-body p-0\">
  96.                     ";
  97.         // line 18
  98.         echo twig_include($this->env$context"flash_messages.html.twig");
  99.         echo "
  100.                     <!-- Nested Row within Card Body -->
  101.                     <div class=\"row\">
  102.                         <div class=\"col-lg-6 d-none d-lg-block bg-login-image\" style=\"background: url(https://source.unsplash.com/featured/?architecture,modern/800x600); background-position: center; background-size: cover;\">
  103.                             <div class=\"credits\">Fotos auf <a href=\"https://unsplash.com?utm_medium=referral\" target=\"_blank\">Unsplash</a>  </div>
  104.                         </div>
  105.                         <div class=\"col-lg-6\">
  106.                             <div class=\"p-5\">
  107.                                 <div class=\"text-center\">
  108.                                     <h1 class=\"h4 text-gray-900 mb-4\">Willkommen zurück!</h1>
  109.                                 </div>
  110.                                 <form method=\"post\" action=\"";
  111.         // line 30
  112.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  113.         echo "\" class=\"user\">
  114.                                     ";
  115.         // line 31
  116.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'31$this->source); })())) {
  117.             // line 32
  118.             echo "                                        <div class=\"alert alert-danger\">";
  119.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'32$this->source); })()), "messageKey", [], "any"falsefalsefalse32), twig_get_attribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'32$this->source); })()), "messageData", [], "any"falsefalsefalse32), "security"), "html"nulltrue);
  120.             echo "</div>
  121.                                     ";
  122.         }
  123.         // line 34
  124.         echo "
  125.                                     ";
  126.         // line 35
  127.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'35$this->source); })()), "user", [], "any"falsefalsefalse35)) {
  128.             // line 36
  129.             echo "                                        <div class=\"mb-3\">
  130.                                             Sie sind bereits angemeldet als ";
  131.             // line 37
  132.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'37$this->source); })()), "user", [], "any"falsefalsefalse37), "username", [], "any"falsefalsefalse37), "html"nulltrue);
  133.             echo ", <a href=\"";
  134.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  135.             echo "\">Abmelden?</a>
  136.                                         </div>
  137.                                     ";
  138.         }
  139.         // line 40
  140.         echo "
  141.                                     <div class=\"form-group\">
  142.                                         <input type=\"email\" value=\"";
  143.         // line 42
  144.         echo twig_escape_filter($this->env, (isset($context["last_username"]) || array_key_exists("last_username"$context) ? $context["last_username"] : (function () { throw new RuntimeError('Variable "last_username" does not exist.'42$this->source); })()), "html"nulltrue);
  145.         echo "\" name=\"email\" id=\"inputEmail\" class=\"form-control form-control-user\" placeholder=\"Ihre E-Mail-Adresse\" required autofocus>
  146.                                     </div>
  147.                                     <div class=\"form-group\">
  148.                                         <input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control form-control-user\" placeholder=\"Ihr Passwort\" required>
  149.                                     </div>
  150.                                     <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  151.         // line 48
  152.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  153.         echo "\">
  154.                                     <div class=\"form-row\">
  155.                                         <div class=\"form-group col-sm-12 col-md-6\">
  156.                                             <button class=\"btn btn-sm btn-primary\" type=\"submit\">
  157.                                                 Anmelden
  158.                                             </button>
  159.                                         </div>
  160.                                         <div class=\"form-group col-sm-12 col-md-6 text-right\">
  161.                                             <a class=\"btn btn-sm btn-outline-secondary\" href=\"";
  162.         // line 57
  163.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_forgot_password_request");
  164.         echo "\">Passwort vergessen?</a>
  165.                                         </div>
  166.                                     </div>
  167.                                 </form>
  168.                             </div>
  169.                         </div>
  170.                     </div>
  171.                 </div>
  172.             </div>
  173.         </div>
  174.     </div>
  175. ";
  176.         
  177.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  178.         
  179.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  180.     }
  181.     public function getTemplateName()
  182.     {
  183.         return "security/login.html.twig";
  184.     }
  185.     public function isTraitable()
  186.     {
  187.         return false;
  188.     }
  189.     public function getDebugInfo()
  190.     {
  191.         return array (  192 => 57,  180 => 48,  171 => 42,  167 => 40,  159 => 37,  156 => 36,  154 => 35,  151 => 34,  145 => 32,  143 => 31,  139 => 30,  124 => 18,  112 => 9,  107 => 6,  97 => 5,  79 => 3,  60 => 2,  37 => 1,);
  192.     }
  193.     public function getSourceContext()
  194.     {
  195.         return new Source("{% extends 'base_login.html.twig' %}
  196. {% block headerTitle %}Login{% endblock %}
  197. {% block messages %}
  198. {% endblock %}
  199. {% block body %}
  200.     <div class=\"row mt-3\">
  201.         <div class=\"col-sm-12 login-logo text-center\">
  202.             <img src=\"{{ asset('layout/dist/images/logo.svg') }}\" width=\"150px\">
  203.         </div>
  204.     </div>
  205.     <div class=\"row login justify-content-center mt-3\">
  206.         <div class=\"col-xl-10 col-lg-12 col-md-9\">
  207.             <div class=\"card o-hidden border-0 shadow-lg my-5\">
  208.                 <div class=\"card-body p-0\">
  209.                     {{ include('flash_messages.html.twig') }}
  210.                     <!-- Nested Row within Card Body -->
  211.                     <div class=\"row\">
  212.                         <div class=\"col-lg-6 d-none d-lg-block bg-login-image\" style=\"background: url(https://source.unsplash.com/featured/?architecture,modern/800x600); background-position: center; background-size: cover;\">
  213.                             <div class=\"credits\">Fotos auf <a href=\"https://unsplash.com?utm_medium=referral\" target=\"_blank\">Unsplash</a>  </div>
  214.                         </div>
  215.                         <div class=\"col-lg-6\">
  216.                             <div class=\"p-5\">
  217.                                 <div class=\"text-center\">
  218.                                     <h1 class=\"h4 text-gray-900 mb-4\">Willkommen zurück!</h1>
  219.                                 </div>
  220.                                 <form method=\"post\" action=\"{{ path('app_login') }}\" class=\"user\">
  221.                                     {% if error %}
  222.                                         <div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  223.                                     {% endif %}
  224.                                     {% if app.user %}
  225.                                         <div class=\"mb-3\">
  226.                                             Sie sind bereits angemeldet als {{ app.user.username }}, <a href=\"{{ path('app_logout') }}\">Abmelden?</a>
  227.                                         </div>
  228.                                     {% endif %}
  229.                                     <div class=\"form-group\">
  230.                                         <input type=\"email\" value=\"{{ last_username }}\" name=\"email\" id=\"inputEmail\" class=\"form-control form-control-user\" placeholder=\"Ihre E-Mail-Adresse\" required autofocus>
  231.                                     </div>
  232.                                     <div class=\"form-group\">
  233.                                         <input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control form-control-user\" placeholder=\"Ihr Passwort\" required>
  234.                                     </div>
  235.                                     <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  236.                                     <div class=\"form-row\">
  237.                                         <div class=\"form-group col-sm-12 col-md-6\">
  238.                                             <button class=\"btn btn-sm btn-primary\" type=\"submit\">
  239.                                                 Anmelden
  240.                                             </button>
  241.                                         </div>
  242.                                         <div class=\"form-group col-sm-12 col-md-6 text-right\">
  243.                                             <a class=\"btn btn-sm btn-outline-secondary\" href=\"{{ path('app_forgot_password_request') }}\">Passwort vergessen?</a>
  244.                                         </div>
  245.                                     </div>
  246.                                 </form>
  247.                             </div>
  248.                         </div>
  249.                     </div>
  250.                 </div>
  251.             </div>
  252.         </div>
  253.     </div>
  254. {% endblock %}""security/login.html.twig""/home/gncyonsi/public_html/z-concepts-docustack-dev/releases/20221220084321/templates/security/login.html.twig");
  255.     }
  256. }