var/cache/dev/twig/59/592830d669b9ff17ab28608049e85953.php line 44
<?phpuse 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;use Twig\TemplateWrapper;/* login/index.html.twig */class __TwigTemplate_131b490a98cc7efbc435664dd472d456 extends Template{private Source $source;/*** @var array<string, Template>*/private array $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): bool|string|Template|TemplateWrapper{// line 1return "base-login.html.twig";}protected function doDisplay(array $context, array $blocks = []): iterable{$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "login/index.html.twig"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "login/index.html.twig"));$this->parent = $this->loadTemplate("base-login.html.twig", "login/index.html.twig", 1);yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);}// line 3/*** @return iterable<null|scalar|\Stringable>*/public function block_title(array $context, array $blocks = []): iterable{$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));yield "Air Peer Support - Login";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);yield from [];}// line 5/*** @return iterable<null|scalar|\Stringable>*/public function block_body(array $context, array $blocks = []): iterable{$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));// line 6yield " <div class=\"w-100 \"><div class=\"login-left\"><!-- Login Tab Content --><div class=\"account-content\"><div class=\"login-header\"><a href=\"#\"><img class=\"login-logo\" src=\"";// line 12yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/logo-full.png"), "html", null, true);yield " \" alt=\"\" ></a></div><div class=\"form-col\"><div class=\"login-text-details\"><h3>Log in</h3><p>Sign in with your nickname and password but your privacy is safe, APS doesn’t record anything about you!</p>";// line 19if ((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 19, $this->source); })())) {// line 20yield " <div>";yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 20, $this->source); })()), "messageKey", [], "any", false, false, false, 20), CoreExtension::getAttribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 20, $this->source); })()), "messageData", [], "any", false, false, false, 20), "security"), "html", null, true);yield "</div>";}// line 22yield " </div><form action=\"";// line 23yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");yield "\" method=\"post\"><div class=\"form-group\"><label>Your Email/Username</label><input class=\"form-control form-control-lg group_formcontrol\" value=\"";// line 26yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((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", null, true);yield "\" id=\"username\" name=\"_username\" type=\"string\"></div><div class=\"form-group\"><label>Password</label><input class=\"form-control form-control-lg group_formcontrol\" type=\"password\" id=\"password\" name=\"_password\"></div><div class=\"form-group\"><label class=\"custom-check d-flex\"><input type=\"checkbox\">Keep me logged in<span class=\"checkmark\"></span></label></div><div class=\"pt-1\"><div class=\"text-center\"><button class=\"btn newgroup_create btn-block d-block w-100\" type=\"submit\">Login</button></div></div><input type=\"hidden\" name=\"_csrf_token\" value=\"";// line 43yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);yield "\"><input type=\"hidden\" name=\"_target_path\" value=\"";// line 44yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_message_index");yield "\"><div class=\"text-center mt-3\"><span class=\"forgot-link\">";// line 48yield " </span></div><input type=\"hidden\" name=\"_csrf_token\" value=\"";// line 50yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);yield "\"></form></div>";// line 58yield " </div><!-- /Login Tab Content --></div><div class=\"login-right\"></div></div>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);yield from [];}/*** @codeCoverageIgnore*/public function getTemplateName(): string{return "login/index.html.twig";}/*** @codeCoverageIgnore*/public function isTraitable(): bool{return false;}/*** @codeCoverageIgnore*/public function getDebugInfo(): array{return array ( 175 => 58, 169 => 50, 165 => 48, 159 => 44, 155 => 43, 135 => 26, 129 => 23, 126 => 22, 120 => 20, 118 => 19, 108 => 12, 100 => 6, 87 => 5, 64 => 3, 41 => 1,);}public function getSourceContext(): Source{return new Source("{% extends 'base-login.html.twig' %}{% block title %}Air Peer Support - Login{% endblock %}{% block body %}<div class=\"w-100 \"><div class=\"login-left\"><!-- Login Tab Content --><div class=\"account-content\"><div class=\"login-header\"><a href=\"#\"><img class=\"login-logo\" src=\"{{ asset('assets/img/logo-full.png') }} \" alt=\"\" ></a></div><div class=\"form-col\"><div class=\"login-text-details\"><h3>Log in</h3><p>Sign in with your nickname and password but your privacy is safe, APS doesn’t record anything about you!</p>{% if error %}<div>{{ error.messageKey|trans(error.messageData, 'security') }}</div>{% endif %}</div><form action=\"{{ path('app_login') }}\" method=\"post\"><div class=\"form-group\"><label>Your Email/Username</label><input class=\"form-control form-control-lg group_formcontrol\" value=\"{{ last_username }}\" id=\"username\" name=\"_username\" type=\"string\"></div><div class=\"form-group\"><label>Password</label><input class=\"form-control form-control-lg group_formcontrol\" type=\"password\" id=\"password\" name=\"_password\"></div><div class=\"form-group\"><label class=\"custom-check d-flex\"><input type=\"checkbox\">Keep me logged in<span class=\"checkmark\"></span></label></div><div class=\"pt-1\"><div class=\"text-center\"><button class=\"btn newgroup_create btn-block d-block w-100\" type=\"submit\">Login</button></div></div><input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\"><input type=\"hidden\" name=\"_target_path\" value=\"{{ path('app_message_index') }}\"><div class=\"text-center mt-3\"><span class=\"forgot-link\">{# <a href=\"{{ path('app_forgot_password_request') }}\" class=\"text-end\">Forgot Password ?</a> #}</span></div><input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\"></form></div>{#<div class=\"back-btn-col text-center\"><a href=\"index.html\"><span><i class=\"fas fa-caret-left\"></i></span> Back</a></div>#}</div><!-- /Login Tab Content --></div><div class=\"login-right\"></div></div>{% endblock %}", "login/index.html.twig", "/var/www/luxwing/templates/login/index.html.twig");}}