var/cache/dev/twig/85/85dae1b96ecf774399611713e4b14bcbec53950f605076b0e97be3d3cf86717f.php line 47

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* theme_learts/login.html.twig */
  14. class __TwigTemplate_bd6020e65d5e8a21141b4ea2e293b3bc47bfc01889afffb07df5843ba99c3ccf extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'maincontent' => [$this'block_maincontent'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return $this->loadTemplate((("theme_" twig_constant("config_theme")) . "/base.html.twig"), "theme_learts/login.html.twig"1);
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""theme_learts/login.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""theme_learts/login.html.twig"));
  38.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  39.         
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  41.         
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  43.     }
  44.     // line 2
  45.     public function block_maincontent($context, array $blocks = [])
  46.     {
  47.         $macros $this->macros;
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""maincontent"));
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""maincontent"));
  52.         // line 3
  53.         echo "    <div class=\"container\">
  54.         <div class=\"row pt-5\">
  55.             <div class=\"col-lg-4 offset-lg-4\">
  56.                 <div class=\"bg-light rounded border p-3 mb-5\">
  57.                     <div class=\"login-register-title\">
  58.                         <h2 class=\"title\">Logg inn</h2>
  59.                     </div>
  60.                     <div class=\"login-register-form\">
  61.                         <form autocomplete=\"off\" method=\"post\">
  62.                             <div class=\"row learts-mb-n50\">
  63.                                 <div class=\"col-12 learts-mb-20\">
  64.                                     <input autocomplete=\"off\" type=\"email\" placeholder=\"Din email-adresse\" value=\"";
  65.         // line 14
  66.         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"nulltrue);
  67.         echo "\" name=\"email\" id=\"inputEmail\" class=\"form-control mb-4\" required autofocus>
  68.                                 </div>
  69.                                 <div class=\"col-12 learts-mb-20\">
  70.                                     <input autocomplete=\"off\" type=\"password\" placeholder=\"Ditt passord\" name=\"password\" id=\"inputPassword\" class=\"form-control mb-4\" required>
  71.                                 </div>
  72.                                 <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  73.         // line 19
  74.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  75.         echo "\">
  76.                                 <div class=\"col-12 learts-mb-20\">
  77.                                     <div class=\"row learts-mb-n20\">
  78.                                         <div class=\"col-12 learts-mb-20\">
  79.                                             <div class=\"form-check\">
  80.                                                 <input type=\"checkbox\" class=\"form-check-input\" id=\"rememberMe\" name=\"_remember_me\">
  81.                                                 <label class=\"form-check-label\" for=\"rememberMe\">Husk meg</label>
  82.                                             </div>
  83.                                         </div>
  84.                                         <div class=\"col-12 learts-mb-20\">
  85.                                             <a href=\"";
  86.         // line 29
  87.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_forgotpasswd");
  88.         echo "\" class=\"fw-400\">Glemt passordet?</a>
  89.                                         </div>
  90.                                     </div>
  91.                                 </div>
  92.                                 <div class=\"col-12 text-center learts-mb-50\">
  93.                                     <button class=\"btn btn-dark btn-outline-hover-dark\">Logg inn</button>
  94.                                     <p class=\"text-center mt-3\">
  95.                                         <a href=\"/register\">Registrer ny bruker</a>
  96.                                     </p>
  97.                                 </div>
  98.                             </div>
  99.                         </form>
  100.                     </div>
  101.                 </div>
  102.             </div>
  103.         </div>
  104.     </div>
  105. ";
  106.         
  107.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  108.         
  109.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  110.     }
  111.     public function getTemplateName()
  112.     {
  113.         return "theme_learts/login.html.twig";
  114.     }
  115.     public function isTraitable()
  116.     {
  117.         return false;
  118.     }
  119.     public function getDebugInfo()
  120.     {
  121.         return array (  101 => 29,  88 => 19,  80 => 14,  67 => 3,  57 => 2,  35 => 1,);
  122.     }
  123.     public function getSourceContext()
  124.     {
  125.         return new Source("{% extends 'theme_' ~ constant('config_theme') ~ '/base.html.twig' %}
  126. {% block maincontent %}
  127.     <div class=\"container\">
  128.         <div class=\"row pt-5\">
  129.             <div class=\"col-lg-4 offset-lg-4\">
  130.                 <div class=\"bg-light rounded border p-3 mb-5\">
  131.                     <div class=\"login-register-title\">
  132.                         <h2 class=\"title\">Logg inn</h2>
  133.                     </div>
  134.                     <div class=\"login-register-form\">
  135.                         <form autocomplete=\"off\" method=\"post\">
  136.                             <div class=\"row learts-mb-n50\">
  137.                                 <div class=\"col-12 learts-mb-20\">
  138.                                     <input autocomplete=\"off\" type=\"email\" placeholder=\"Din email-adresse\" value=\"{{ last_username }}\" name=\"email\" id=\"inputEmail\" class=\"form-control mb-4\" required autofocus>
  139.                                 </div>
  140.                                 <div class=\"col-12 learts-mb-20\">
  141.                                     <input autocomplete=\"off\" type=\"password\" placeholder=\"Ditt passord\" name=\"password\" id=\"inputPassword\" class=\"form-control mb-4\" required>
  142.                                 </div>
  143.                                 <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  144.                                 <div class=\"col-12 learts-mb-20\">
  145.                                     <div class=\"row learts-mb-n20\">
  146.                                         <div class=\"col-12 learts-mb-20\">
  147.                                             <div class=\"form-check\">
  148.                                                 <input type=\"checkbox\" class=\"form-check-input\" id=\"rememberMe\" name=\"_remember_me\">
  149.                                                 <label class=\"form-check-label\" for=\"rememberMe\">Husk meg</label>
  150.                                             </div>
  151.                                         </div>
  152.                                         <div class=\"col-12 learts-mb-20\">
  153.                                             <a href=\"{{ path('app_forgotpasswd') }}\" class=\"fw-400\">Glemt passordet?</a>
  154.                                         </div>
  155.                                     </div>
  156.                                 </div>
  157.                                 <div class=\"col-12 text-center learts-mb-50\">
  158.                                     <button class=\"btn btn-dark btn-outline-hover-dark\">Logg inn</button>
  159.                                     <p class=\"text-center mt-3\">
  160.                                         <a href=\"/register\">Registrer ny bruker</a>
  161.                                     </p>
  162.                                 </div>
  163.                             </div>
  164.                         </form>
  165.                     </div>
  166.                 </div>
  167.             </div>
  168.         </div>
  169.     </div>
  170. {% endblock %}
  171. ""theme_learts/login.html.twig""/var/www/html/webtoprint/SymfonyTemplate/templates/theme_learts/login.html.twig");
  172.     }
  173. }