<?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/forgotpasswd.html.twig */
class __TwigTemplate_59e0421ee56161a39602fc1ca09d099c4a4aa5a59ccda721602610a03d5d7614 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/forgotpasswd.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/forgotpasswd.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/forgotpasswd.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\">
";
// line 6
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 6, $this->source); })()), "request", [], "any", false, false, false, 6), "method", [], "any", false, false, false, 6), "GET"))) {
// line 7
echo " <div class=\"bg-light rounded border p-3 mb-5\">
<div class=\"login-register-title\">
<h2 class=\"title\">Glemt passordet</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=\"\" name=\"email\" id=\"inputEmail\" class=\"form-control mb-4\" required autofocus>
</div>
<div class=\"col-12 text-center learts-mb-50\">
<button class=\"btn btn-dark btn-outline-hover-dark\">Send meg nytt passord!</button>
</div>
</div>
</form>
</div>
</div>
";
} else {
// line 25
echo " <h6 class=\"text-center mb-5\">En mail er sendt til \"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 25, $this->source); })()), "request", [], "any", false, false, false, 25), "get", [0 => "email"], "method", false, false, false, 25), "html", null, true);
echo "\" med nytt passord!</h6>
";
}
// line 27
echo " </div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "theme_learts/forgotpasswd.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 100 => 27, 94 => 25, 74 => 7, 72 => 6, 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\">
{% if (app.request.method == 'GET') %}
<div class=\"bg-light rounded border p-3 mb-5\">
<div class=\"login-register-title\">
<h2 class=\"title\">Glemt passordet</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=\"\" name=\"email\" id=\"inputEmail\" class=\"form-control mb-4\" required autofocus>
</div>
<div class=\"col-12 text-center learts-mb-50\">
<button class=\"btn btn-dark btn-outline-hover-dark\">Send meg nytt passord!</button>
</div>
</div>
</form>
</div>
</div>
{% else %}
<h6 class=\"text-center mb-5\">En mail er sendt til \"{{ app.request.get('email') }}\" med nytt passord!</h6>
{% endif %}
</div>
</div>
</div>
{% endblock %}
", "theme_learts/forgotpasswd.html.twig", "/var/www/html/webtoprint/SymfonyTemplate/templates/theme_learts/forgotpasswd.html.twig");
}
}