*/ private array $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'title' => [$this, 'block_title'], 'head' => [$this, 'block_head'], 'content' => [$this, 'block_content'], 'scripts' => [$this, 'block_scripts'], ]; } protected function doGetParent(array $context): bool|string|Template|TemplateWrapper { // line 1 return "layouts/base.twig"; } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; $this->parent = $this->load("layouts/base.twig", 1); yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks)); } // line 3 /** * @return iterable */ public function block_title(array $context, array $blocks = []): iterable { $macros = $this->macros; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.login_title", ["platformName" => ($context["platformName"] ?? null)]), "html", null, true); yield from []; } // line 5 /** * @return iterable */ public function block_head(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 6 yield " "; yield from []; } // line 105 /** * @return iterable */ public function block_content(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 106 yield "

"; // line 111 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.login_title", ["platformName" => ($context["platformName"] ?? null)]), "html", null, true); yield "

"; // line 114 if ((($tmp = ($context["password_reset_success"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 115 yield "
"; // line 116 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.password_reset_success"), "html", null, true); yield "
"; } // line 119 yield " "; // line 120 if ((($tmp = ($context["error"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 121 yield "
"; // line 122 yield (((($context["error"] ?? null) == 1)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.invalid_credentials"), "html", null, true)) : ("")); yield " "; // line 123 yield (((($context["error"] ?? null) == 2)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.account_inactive"), "html", null, true)) : ("")); yield " "; // line 124 yield (((($context["error"] ?? null) == 3)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.registration_pending"), "html", null, true)) : ("")); yield " "; // line 125 yield (((($context["error"] ?? null) == "captcha")) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.invalid_captcha"), "html", null, true)) : ("")); yield " "; // line 126 yield (((($context["error"] ?? null) == "rate")) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.too_many_attempts"), "html", null, true)) : ("")); yield "
"; } // line 129 yield " "; // line 130 if ((($tmp = ($context["expired"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 131 yield "
"; // line 132 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.session_expired"), "html", null, true); yield "
"; } // line 135 yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('url')->getCallable()("login"), "html", null, true); yield "\"> "; // line 137 yield $this->env->getFunction('csrf_field')->getCallable()(); yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.email_placeholder"), "html", null, true); yield "\" value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('old')->getCallable()("email"), "html", null, true); yield "\" required>
"; // line 144 yield from $this->load("components/password-field.twig", 144)->unwrap()->yield(CoreExtension::merge($context, ["id" => "password", "name" => "password", "label" => $this->env->getFunction('__')->getCallable()("auth.password"), "placeholder" => $this->env->getFunction('__')->getCallable()("auth.password_placeholder"), "required" => true])); // line 151 yield " "; // line 152 if ((($tmp = ($context["require_captcha_login"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 153 yield "
+ =
✓ "; // line 185 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.captcha_solved"), "html", null, true); yield " "; // line 188 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.captcha_instruction"), "html", null, true); yield "
"; } // line 195 yield "
"; // line 222 if ((($tmp = ($context["success"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 223 yield "
"; // line 224 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.logout_success"), "html", null, true); yield "
"; } // line 227 yield " "; // line 228 if ((($tmp = ($context["registered"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 229 yield "
"; // line 230 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.registration_success"), "html", null, true); yield "
"; } // line 233 yield " "; if ((($tmp = ($context["verified"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 234 yield "
"; // line 235 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.email_verified_success"), "html", null, true); yield "
"; } // line 238 yield " "; if ((($tmp = ($context["resend"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 239 yield "
"; // line 240 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('__')->getCallable()("auth.verification_email_sent"), "html", null, true); yield "
"; } // line 243 yield "
"; yield from []; } // line 249 /** * @return iterable */ public function block_scripts(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 250 yield " "; yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "auth/views/login.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 459 => 250, 452 => 249, 443 => 243, 437 => 240, 434 => 239, 431 => 238, 425 => 235, 422 => 234, 419 => 233, 413 => 230, 410 => 229, 408 => 228, 405 => 227, 399 => 224, 396 => 223, 394 => 222, 387 => 218, 383 => 217, 377 => 213, 371 => 210, 366 => 209, 364 => 208, 359 => 206, 355 => 205, 350 => 203, 342 => 198, 337 => 195, 327 => 188, 321 => 185, 312 => 179, 303 => 173, 281 => 153, 279 => 152, 276 => 151, 274 => 144, 268 => 141, 262 => 140, 256 => 137, 252 => 136, 249 => 135, 243 => 132, 240 => 131, 238 => 130, 235 => 129, 229 => 126, 225 => 125, 221 => 124, 217 => 123, 213 => 122, 210 => 121, 208 => 120, 205 => 119, 199 => 116, 196 => 115, 194 => 114, 188 => 111, 181 => 106, 174 => 105, 72 => 6, 65 => 5, 54 => 3, 43 => 1,); } public function getSourceContext(): Source { return new Source("", "auth/views/login.twig", "/app/modules/auth/views/login.twig"); } }