/
home
/
obinna
/
html
/
mixchief_app
/
var
/
cache
/
prod
/
twig
/
c4
/
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; /* security/login.html.twig */ class __TwigTemplate_549b1e9cc4a35d10c530cadfa356d3eee7ff050ecd9f4b64f6475a71ecf48139 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'title' => [$this, 'block_title'], 'body' => [$this, 'block_body'], ]; } protected function doGetParent(array $context) { // line 1 return "base.html.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $this->parent = $this->loadTemplate("base.html.twig", "security/login.html.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_title($context, array $blocks = []) { $macros = $this->macros; echo "Log in!"; } // line 5 public function block_body($context, array $blocks = []) { $macros = $this->macros; // line 6 echo "<form method=\"post\"> "; // line 7 if (($context["error"] ?? null)) { // line 8 echo " <div class=\"alert alert-danger\">"; 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, 8), twig_get_attribute($this->env, $this->source, ($context["error"] ?? null), "messageData", [], "any", false, false, false, 8), "security"), "html", null, true); echo "</div> "; } // line 10 echo " <h1 class=\"h3 mb-3 font-weight-normal\">Please sign in</h1> <label for=\"inputEmail\" class=\"sr-only\">Email</label> <input type=\"email\" value=\""; // line 13 echo twig_escape_filter($this->env, ($context["last_username"] ?? null), "html", null, true); echo "\" name=\"email\" id=\"inputEmail\" class=\"form-control\" placeholder=\"Email\" required autofocus> <label for=\"inputPassword\" class=\"sr-only\">Password</label> <input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" placeholder=\"Password\" required> <input type=\"hidden\" name=\"_csrf_token\" value=\""; // line 18 echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true); echo "\" > "; // line 31 echo " <button class=\"btn btn-lg btn-primary\" type=\"submit\"> Sign in </button> </form> "; } public function getTemplateName() { return "security/login.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 88 => 31, 82 => 18, 74 => 13, 69 => 10, 63 => 8, 61 => 7, 58 => 6, 54 => 5, 47 => 3, 36 => 1,); } public function getSourceContext() { return new Source("", "security/login.html.twig", "/var/www/html/mixchief_app/templates/security/login.html.twig"); } }