/
var
/
www
/
html
/
restaurants
/
var
/
cache
/
prod
/
twig
/
4d
/
Upload File
HOME
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; 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; /* user/login.html.twig */ class __TwigTemplate_2a6674b7fc8410f9ae861fd65eaa2e0a885ab724c3ab65070a6888947e7ff36f extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'loginnav' => [$this, 'block_loginnav'], 'content' => [$this, 'block_content'], 'javascripts' => [$this, 'block_javascripts'], ]; } protected function doGetParent(array $context) { // line 1 return "base2.html.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $this->parent = $this->loadTemplate("base2.html.twig", "user/login.html.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_loginnav($context, array $blocks = []) { $macros = $this->macros; // line 4 echo " "; } // line 7 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 8 echo " <div class=\"login-form\"> <div class=\"card\"> <div class=\"card-header\">Login</div> <div class=\"card-body\"> "; // line 12 if (($context["error"] ?? null)) { // line 13 echo " <div id=\"error\">"; echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, ($context["error"] ?? null), "messageKey", [], "any", false, false, false, 13), twig_get_attribute($this->env, $this->source, ($context["error"] ?? null), "messageData", [], "any", false, false, false, 13), "security"), "html", null, true); echo "</div> "; } // line 15 echo " <form action=\""; echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login"); echo "\" method=\"post\" role=\"form\"> \t<input type=\"hidden\" name=\"_csrf_token\" value=\""; // line 16 echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true); echo "\"> <div class=\"input-group\"> \t<span class=\"input-group-addon\" id=\"username\"><i class=\"icon-account_circle\"></i></span> <input type=\"email\" name=\"email\" placeholder=\"Email Address\" class=\"form-control login\" value=\""; // line 19 echo twig_escape_filter($this->env, ((array_key_exists("last_username", $context)) ? (_twig_default_filter(($context["last_username"] ?? null), "")) : ("")), "html", null, true); echo "\"> </div> <div class=\"input-group\"> \t<span class=\"input-group-addon\" id=\"password\"><i class=\"icon-verified_user\"></i></span> <input type=\"password\" name=\"password\" placeholder=\"Password\" class=\"form-control\"> </div> <div class=\"checkbox mb-3\" style=\"display: flex;\"> \t<input type=\"checkbox\" name=\"_remember_me\"> <label style=\"margin: auto 5px\">Remember me</label> </div> <input type=\"submit\" name=\"submit\" value=\"Login\" class=\"btn btn-primary\"> <a href=\""; // line 30 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("password_email"); echo "\" class=\"pull-right-push\">Forgot password?</a> </form> </div> </div> </div> "; } // line 40 public function block_javascripts($context, array $blocks = []) { $macros = $this->macros; // line 41 echo " "; $this->displayParentBlock("javascripts", $context, $blocks); echo " <script> \$(document).ready(function(){ \$('input.login').focus(); }) </script> "; } public function getTemplateName() { return "user/login.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 116 => 41, 112 => 40, 100 => 30, 86 => 19, 80 => 16, 75 => 15, 69 => 13, 67 => 12, 61 => 8, 57 => 7, 52 => 4, 48 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "user/login.html.twig", "/var/www/html/restaurants/templates/user/login.html.twig"); } }