var/cache/dev/twig/b7/b76119116b0b4b9ba9b001703ce78972c4adebabdbb78c9c9049ffa67a25d455.php line 49

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_bb16325a2abf4cda8c2cb955dd7b0266084c8e0d6af34395b0d955866ddfd16a 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.             'title' => [$this'block_title'],
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/login.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/login.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""security/login.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 3
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         echo "Přihlášení - ";
  55.         
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  57.         
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  59.     }
  60.     // line 5
  61.     public function block_body($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  66.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         // line 6
  69.         echo "
  70.     <div class=\"container\">
  71.         <form class=\"row\" id=\"loginForm\" method=\"post\">
  72.             ";
  73.         // line 10
  74.         $this->loadTemplate("security/alert_messages.html.twig""security/login.html.twig"10)->display($context);
  75.         // line 11
  76.         echo "
  77.             ";
  78.         // line 12
  79.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'12$this->source); })())) {
  80.             // line 13
  81.             echo "                <div class=\"alert alert-danger\">";
  82.             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.'13$this->source); })()), "messageKey", [], "any"falsefalsefalse13), 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.'13$this->source); })()), "messageData", [], "any"falsefalsefalse13), "security"), "html"nulltrue);
  83.             echo "</div>
  84.             ";
  85.         }
  86.         // line 15
  87.         echo "
  88.             <div class=\"text-center mb-4\">
  89.                 <h1 class=\"h3 mb-3 font-weight-normal\">Přihlášení</h1>
  90.                 ";
  91.         // line 21
  92.         echo "            </div>
  93.             <div class=\"col-12\">
  94.                 <div class=\"form-floating mb-3\">
  95.                     <input type=\"text\" value=\"";
  96.         // line 26
  97.         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.'26$this->source); })()), "html"nulltrue);
  98.         echo "\" name=\"userName\" class=\"form-control\" id=\"floatingInput\" placeholder=\"Uživatelské jméno\" required autofocus>
  99.                     <label for=\"floatingInput\">Uživatelské jméno</label>
  100.                 </div>
  101.             </div>
  102.             <div class=\"col-12\">
  103.                 <div class=\"form-floating mb-3\">
  104.                     <input type=\"password\" class=\"form-control\" id=\"floatingInput\" name=\"password\" placeholder=\"Heslo\" autocomplete=\"current-password\" required>
  105.                     <label for=\"floatingInput\">Heslo</label>
  106.                 </div>
  107.             </div>
  108.             <div class=\"col-12\">
  109.                 <a href=\"";
  110.         // line 38
  111.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_forgotten_password");
  112.         echo "\">";
  113.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("security.forgotten_password"), "html"nulltrue);
  114.         echo "?</a>
  115.             </div>
  116.             ";
  117.         // line 52
  118.         echo "            <input type=\"hidden\" name=\"_csrf_token\"
  119.                    value=\"";
  120.         // line 53
  121.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  122.         echo "\"
  123.             >
  124.             <div class=\"col-12 text-center mt-2\">
  125.                 <button class=\"btn btn-success btn-block\" type=\"submit\">";
  126.         // line 56
  127.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("security.login"), "html"nulltrue);
  128.         echo "</button>
  129.                 <p class=\"mt-5 mb-3 text-muted text-center\">© ";
  130.         // line 57
  131.         echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""Y"), "html"nulltrue);
  132.         echo "</p>
  133.             </div>
  134.         </form>
  135.     </div>
  136. ";
  137.         
  138.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  139.         
  140.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  141.     }
  142.     public function getTemplateName()
  143.     {
  144.         return "security/login.html.twig";
  145.     }
  146.     public function isTraitable()
  147.     {
  148.         return false;
  149.     }
  150.     public function getDebugInfo()
  151.     {
  152.         return array (  155 => 57,  151 => 56,  145 => 53,  142 => 52,  135 => 38,  120 => 26,  113 => 21,  107 => 15,  101 => 13,  99 => 12,  96 => 11,  94 => 10,  88 => 6,  78 => 5,  59 => 3,  36 => 1,);
  153.     }
  154.     public function getSourceContext()
  155.     {
  156.         return new Source("{% extends 'base.html.twig' %}
  157. {% block title %}Přihlášení - {% endblock %}
  158. {% block body %}
  159.     <div class=\"container\">
  160.         <form class=\"row\" id=\"loginForm\" method=\"post\">
  161.             {% include 'security/alert_messages.html.twig' %}
  162.             {% if error %}
  163.                 <div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  164.             {% endif %}
  165.             <div class=\"text-center mb-4\">
  166.                 <h1 class=\"h3 mb-3 font-weight-normal\">Přihlášení</h1>
  167.                 {#<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In eu eros dolor. Etiam orci urna, sodales
  168.                     sit amet consectetur ut, ultricies quis urna.</p>#}
  169.             </div>
  170.             <div class=\"col-12\">
  171.                 <div class=\"form-floating mb-3\">
  172.                     <input type=\"text\" value=\"{{ last_username }}\" name=\"userName\" class=\"form-control\" id=\"floatingInput\" placeholder=\"Uživatelské jméno\" required autofocus>
  173.                     <label for=\"floatingInput\">Uživatelské jméno</label>
  174.                 </div>
  175.             </div>
  176.             <div class=\"col-12\">
  177.                 <div class=\"form-floating mb-3\">
  178.                     <input type=\"password\" class=\"form-control\" id=\"floatingInput\" name=\"password\" placeholder=\"Heslo\" autocomplete=\"current-password\" required>
  179.                     <label for=\"floatingInput\">Heslo</label>
  180.                 </div>
  181.             </div>
  182.             <div class=\"col-12\">
  183.                 <a href=\"{{ url('app_forgotten_password') }}\">{{ 'security.forgotten_password'|trans }}?</a>
  184.             </div>
  185.             {#
  186.                 Uncomment this section and add a remember_me option below your firewall to activate remember me functionality.
  187.                 See https://symfony.com/doc/current/security/remember_me.html
  188.                 <div class=\"col-12\">
  189.                     <div class=\"checkbox mb-3\">
  190.                         <label>
  191.                             <input type=\"checkbox\" name=\"_remember_me\"> Remember me
  192.                         </label>
  193.                     </div>
  194.                 </div>
  195.             #}
  196.             <input type=\"hidden\" name=\"_csrf_token\"
  197.                    value=\"{{ csrf_token('authenticate') }}\"
  198.             >
  199.             <div class=\"col-12 text-center mt-2\">
  200.                 <button class=\"btn btn-success btn-block\" type=\"submit\">{{ 'security.login'|trans }}</button>
  201.                 <p class=\"mt-5 mb-3 text-muted text-center\">© {{ 'now'|date('Y') }}</p>
  202.             </div>
  203.         </form>
  204.     </div>
  205. {% endblock %}
  206. ""security/login.html.twig""/www/hosting/motoservis.dev.firamedia.cz/www/releases/20230901114522/templates/security/login.html.twig");
  207.     }
  208. }