<?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;
/* theme_learts/login.html.twig */
class __TwigTemplate_bd6020e65d5e8a21141b4ea2e293b3bc47bfc01889afffb07df5843ba99c3ccf extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'maincontent' => [$this, 'block_maincontent'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate((("theme_" . twig_constant("config_theme")) . "/base.html.twig"), "theme_learts/login.html.twig", 1);
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "theme_learts/login.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "theme_learts/login.html.twig"));
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 2
public function block_maincontent($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "maincontent"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "maincontent"));
// line 3
echo " <div class=\"container\">
<div class=\"row pt-5\">
<div class=\"col-lg-4 offset-lg-4\">
<div class=\"bg-light rounded border p-3 mb-5\">
<div class=\"login-register-title\">
<h2 class=\"title\">Logg inn</h2>
</div>
<div class=\"login-register-form\">
<form autocomplete=\"off\" method=\"post\">
<div class=\"row learts-mb-n50\">
<div class=\"col-12 learts-mb-20\">
<input autocomplete=\"off\" type=\"email\" placeholder=\"Din email-adresse\" value=\"";
// line 14
echo twig_escape_filter($this->env, (isset($context["last_username"]) || array_key_exists("last_username", $context) ? $context["last_username"] : (function () { throw new RuntimeError('Variable "last_username" does not exist.', 14, $this->source); })()), "html", null, true);
echo "\" name=\"email\" id=\"inputEmail\" class=\"form-control mb-4\" required autofocus>
</div>
<div class=\"col-12 learts-mb-20\">
<input autocomplete=\"off\" type=\"password\" placeholder=\"Ditt passord\" name=\"password\" id=\"inputPassword\" class=\"form-control mb-4\" required>
</div>
<input type=\"hidden\" name=\"_csrf_token\" value=\"";
// line 19
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
echo "\">
<div class=\"col-12 learts-mb-20\">
<div class=\"row learts-mb-n20\">
<div class=\"col-12 learts-mb-20\">
<div class=\"form-check\">
<input type=\"checkbox\" class=\"form-check-input\" id=\"rememberMe\" name=\"_remember_me\">
<label class=\"form-check-label\" for=\"rememberMe\">Husk meg</label>
</div>
</div>
<div class=\"col-12 learts-mb-20\">
<a href=\"";
// line 29
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_forgotpasswd");
echo "\" class=\"fw-400\">Glemt passordet?</a>
</div>
</div>
</div>
<div class=\"col-12 text-center learts-mb-50\">
<button class=\"btn btn-dark btn-outline-hover-dark\">Logg inn</button>
<p class=\"text-center mt-3\">
<a href=\"/register\">Registrer ny bruker</a>
</p>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "theme_learts/login.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 101 => 29, 88 => 19, 80 => 14, 67 => 3, 57 => 2, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'theme_' ~ constant('config_theme') ~ '/base.html.twig' %}
{% block maincontent %}
<div class=\"container\">
<div class=\"row pt-5\">
<div class=\"col-lg-4 offset-lg-4\">
<div class=\"bg-light rounded border p-3 mb-5\">
<div class=\"login-register-title\">
<h2 class=\"title\">Logg inn</h2>
</div>
<div class=\"login-register-form\">
<form autocomplete=\"off\" method=\"post\">
<div class=\"row learts-mb-n50\">
<div class=\"col-12 learts-mb-20\">
<input autocomplete=\"off\" type=\"email\" placeholder=\"Din email-adresse\" value=\"{{ last_username }}\" name=\"email\" id=\"inputEmail\" class=\"form-control mb-4\" required autofocus>
</div>
<div class=\"col-12 learts-mb-20\">
<input autocomplete=\"off\" type=\"password\" placeholder=\"Ditt passord\" name=\"password\" id=\"inputPassword\" class=\"form-control mb-4\" required>
</div>
<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
<div class=\"col-12 learts-mb-20\">
<div class=\"row learts-mb-n20\">
<div class=\"col-12 learts-mb-20\">
<div class=\"form-check\">
<input type=\"checkbox\" class=\"form-check-input\" id=\"rememberMe\" name=\"_remember_me\">
<label class=\"form-check-label\" for=\"rememberMe\">Husk meg</label>
</div>
</div>
<div class=\"col-12 learts-mb-20\">
<a href=\"{{ path('app_forgotpasswd') }}\" class=\"fw-400\">Glemt passordet?</a>
</div>
</div>
</div>
<div class=\"col-12 text-center learts-mb-50\">
<button class=\"btn btn-dark btn-outline-hover-dark\">Logg inn</button>
<p class=\"text-center mt-3\">
<a href=\"/register\">Registrer ny bruker</a>
</p>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
", "theme_learts/login.html.twig", "/var/www/html/webtoprint/SymfonyTemplate/templates/theme_learts/login.html.twig");
}
}