/
var
/
www
/
html
/
boazapp
/
var
/
cache
/
prod
/
twig
/
d6
/
Upload File
HOME
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\CoreExtension; 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; /* users/login.html.twig */ class __TwigTemplate_1670f12d19769f70591ac64e3cdf11031d761eaa9a4907ddabd85745c486f0bc extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'sidemenu' => [$this, 'block_sidemenu'], 'content' => [$this, 'block_content'], ]; } protected function doGetParent(array $context) { // line 1 return "base1.html.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $this->parent = $this->loadTemplate("base1.html.twig", "users/login.html.twig", 1); yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_sidemenu($context, array $blocks = []) { $macros = $this->macros; return; yield ''; } // line 6 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 7 yield " <div class=\"content\"> <div class=\"container-fluid\"> <div class=\"row\"> <div class=\"col-md-4 col-md-offset-3\"> <div class=\"card\"> <div class=\"header\"> <h4 class=\"title\">Login</h4> </div> <div class=\"content\"> "; // line 16 if (($context["error"] ?? null)) { // line 17 yield " <div class=\"alert alert-danger\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, ($context["error"] ?? null), "messageKey", [], "any", false, false, false, 17), CoreExtension::getAttribute($this->env, $this->source, ($context["error"] ?? null), "messageData", [], "any", false, false, false, 17), "security"), "html", null, true); yield "</div> "; } // line 19 yield " <form action=\""; // line 20 yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login"); yield "\" method=\"post\"> <div class=\"form-group\"> <label for=\"username\"><h4>Username:</h4></label> <input class=\"form-control\" type=\"text\" id=\"username\" name=\"_username\" value=\""; // line 24 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["last_username"] ?? null), "html", null, true); yield "\" required /> </div> <div class=\"form-group\"> <label for=\"password\"><h4>Password:</h4></label> <input class=\"form-control\" type=\"password\" id=\"password\" name=\"_password\" required /> </div> <button type=\"submit\" class=\"btn btn-default\">Login</button> </form> </div> </div> </div> </div> </div> </div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "users/login.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 88 => 24, 81 => 20, 78 => 19, 72 => 17, 70 => 16, 59 => 7, 55 => 6, 48 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "users/login.html.twig", "/var/www/html/boazapp/templates/users/login.html.twig"); } }