/
home
/
obinna
/
html
/
amply
/
var
/
cache
/
prod
/
twig
/
64
/
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_350cc9bbe79a24fbca5c4dd897769dfb5f47ccb237dd86d0add4cc2a1c131b59 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ '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_content($context, array $blocks = []) { $macros = $this->macros; // line 4 echo " <div class=\"login-form\"> <div class=\"card\"> <div class=\"card-header\">Login</div> <div class=\"card-body\"> "; // line 8 if (($context["error"] ?? null)) { // line 9 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, 9), twig_get_attribute($this->env, $this->source, ($context["error"] ?? null), "messageData", [], "any", false, false, false, 9), "security"), "html", null, true); echo "</div> "; } // line 11 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 12 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 15 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 26 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("register"); echo "\">Create account</a> <a href=\""; // line 27 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("password_email"); echo "\" class=\"pull-right-push\">Forgot password?</a> </form> </div> </div> </div> "; } // line 37 public function block_javascripts($context, array $blocks = []) { $macros = $this->macros; // line 38 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 ( 110 => 38, 106 => 37, 94 => 27, 90 => 26, 76 => 15, 70 => 12, 65 => 11, 59 => 9, 57 => 8, 51 => 4, 47 => 3, 36 => 1,); } public function getSourceContext() { return new Source("", "user/login.html.twig", "/var/www/html/amply/templates/user/login.html.twig"); } }