<?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;
/* security/login.html.twig */
class __TwigTemplate_fa4f99027a48e8649351f823d4d67f846a8bd24ac51aa33ac653152400d19533 extends Template
{
private $source;
private $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)
{
// line 1
return "base_simple.html.twig";
}
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", "security/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", "security/login.html.twig"));
$this->parent = $this->loadTemplate("base_simple.html.twig", "security/login.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_title($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", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "Log in!";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 5
public function block_body($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", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 6
echo "<!--begin::Main-->
<!--begin::Login-->
<div class=\"login login-1 login-signin-on d-flex flex-column flex-lg-row flex-column-fluid bg-dark-o-15\" id=\"kt_login\" style=\"background-color: #f3f5f9\">
<!--begin::Content-->
<div class=\"login-content flex-row-fluid d-flex flex-column justify-content-center position-relative overflow-hidden p-7 mx-auto\">
<!--begin::Content body-->
<div class=\"d-flex flex-column-fluid flex-center\" >
<!--begin::Signin-->
<div class=\"login-form login-signin\" >
<!--begin::Form-->
<div class=\"bg-white rounded p-10\">
<!--begin::Card-->
<div class=\"card card-custom card-fit card-border\">
<div class=\"card-body pt-2\" style=\"width:450px;\">
<form class=\"form\" method=\"post\" novalidate=\"novalidate\" id=\"kt_login_signin_form\">
<!--begin::Title-->
";
// line 22
if ((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 22, $this->source); })())) {
// line 23
echo " <div class=\"alert alert-danger\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 23, $this->source); })()), "messageKey", [], "any", false, false, false, 23), twig_get_attribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 23, $this->source); })()), "messageData", [], "any", false, false, false, 23), "security"), "html", null, true);
echo "</div>
";
}
// line 25
echo "
";
// line 26
if (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.', 26, $this->source); })()), "user", [], "any", false, false, false, 26)) {
// line 27
echo " <div class=\"mb-3\">
You are logged in as ";
// line 28
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.', 28, $this->source); })()), "user", [], "any", false, false, false, 28), "username", [], "any", false, false, false, 28), "html", null, true);
echo ", <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
echo "\">Logout</a>
</div>
";
}
// line 31
echo " <div class=\"pb-13 pt-lg-0 pt-5 text-center\">
<a href=\"#\" class=\"text-center mb-10\">
<img src=\"/imagenes/logos/moldes-picassent-logo.png\" class=\"max-h-70px\" alt=\"\" />
</a>
";
// line 36
echo " </div>
<!--begin::Title-->
<!--begin::Form group-->
<div class=\"form-group\">
<label class=\"font-size-h6 font-weight-bolder text-dark\">Nombre de usuario</label>
<input class=\"form-control form-control-solid h-auto py-6 px-6 rounded-lg\" id=\"inputUsername\" value=\"";
// line 41
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.', 41, $this->source); })()), "html", null, true);
echo "\" type=\"text\" name=\"username\" autocomplete=\"off\" required autofocus/>
</div>
<!--end::Form group-->
<!--begin::Form group-->
<div class=\"form-group\">
<div class=\"d-flex justify-content-between mt-n5\">
<label class=\"font-size-h6 font-weight-bolder text-dark pt-5\">Contraseña</label>
";
// line 49
echo " </div>
<input class=\"form-control form-control-solid h-auto py-6 px-6 rounded-lg\" id=\"inputPassword\" type=\"password\" name=\"password\" autocomplete=\"off\" required/>
<input type=\"hidden\" name=\"_csrf_token\"
value=\"";
// line 52
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
echo "\"
>
</div>
<!--end::Form group-->
<!--begin::Action-->
<div class=\"pb-lg-0 pb-5 text-center\">
<button type=\"submit\" id=\"kt_login_signin_submit\" data-load-text=\"Iniciando sesión...\" class=\"btn btn-primary font-weight-bolder font-size-h6 px-8 py-4 my-3 mr-3\">Iniciar sesión</button>
</div>
<!--end::Action-->
<div class=\"pb-lg-0 pb-5 text-center pt-5\">
<a href=\"";
// line 62
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("publico_orden_new");
echo "\" data-load-text=\"Cargando...\">Acceder al Taller</a>
</div>
</form>
</div>
</div>
<!--end::Card-->
</div>
<!--end::Form-->
</div>
<!--end::Signin-->
</div>
<!--end::Content body-->
</div>
<!--end::Content-->
</div>
<!--end::Login-->
<!--end::Main-->
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "security/login.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 171 => 62, 158 => 52, 153 => 49, 143 => 41, 136 => 36, 130 => 31, 122 => 28, 119 => 27, 117 => 26, 114 => 25, 108 => 23, 106 => 22, 88 => 6, 78 => 5, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base_simple.html.twig' %}
{% block title %}Log in!{% endblock %}
{% block body %}
<!--begin::Main-->
<!--begin::Login-->
<div class=\"login login-1 login-signin-on d-flex flex-column flex-lg-row flex-column-fluid bg-dark-o-15\" id=\"kt_login\" style=\"background-color: #f3f5f9\">
<!--begin::Content-->
<div class=\"login-content flex-row-fluid d-flex flex-column justify-content-center position-relative overflow-hidden p-7 mx-auto\">
<!--begin::Content body-->
<div class=\"d-flex flex-column-fluid flex-center\" >
<!--begin::Signin-->
<div class=\"login-form login-signin\" >
<!--begin::Form-->
<div class=\"bg-white rounded p-10\">
<!--begin::Card-->
<div class=\"card card-custom card-fit card-border\">
<div class=\"card-body pt-2\" style=\"width:450px;\">
<form class=\"form\" method=\"post\" novalidate=\"novalidate\" id=\"kt_login_signin_form\">
<!--begin::Title-->
{% if error %}
<div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
{% if app.user %}
<div class=\"mb-3\">
You are logged in as {{ app.user.username }}, <a href=\"{{ path('app_logout') }}\">Logout</a>
</div>
{% endif %}
<div class=\"pb-13 pt-lg-0 pt-5 text-center\">
<a href=\"#\" class=\"text-center mb-10\">
<img src=\"/imagenes/logos/moldes-picassent-logo.png\" class=\"max-h-70px\" alt=\"\" />
</a>
{#<h3 class=\"font-weight-bolder text-dark font-size-h4 font-size-h1-lg text-center\">Bienvenido a <br/>Moldes Picassent</h3>#}
</div>
<!--begin::Title-->
<!--begin::Form group-->
<div class=\"form-group\">
<label class=\"font-size-h6 font-weight-bolder text-dark\">Nombre de usuario</label>
<input class=\"form-control form-control-solid h-auto py-6 px-6 rounded-lg\" id=\"inputUsername\" value=\"{{ last_username }}\" type=\"text\" name=\"username\" autocomplete=\"off\" required autofocus/>
</div>
<!--end::Form group-->
<!--begin::Form group-->
<div class=\"form-group\">
<div class=\"d-flex justify-content-between mt-n5\">
<label class=\"font-size-h6 font-weight-bolder text-dark pt-5\">Contraseña</label>
{#<a href=\"javascript:;\" class=\"text-primary font-size-h6 font-weight-bolder text-hover-primary pt-5\" id=\"kt_login_forgot\">Forgot Password ?</a>#}
</div>
<input class=\"form-control form-control-solid h-auto py-6 px-6 rounded-lg\" id=\"inputPassword\" type=\"password\" name=\"password\" autocomplete=\"off\" required/>
<input type=\"hidden\" name=\"_csrf_token\"
value=\"{{ csrf_token('authenticate') }}\"
>
</div>
<!--end::Form group-->
<!--begin::Action-->
<div class=\"pb-lg-0 pb-5 text-center\">
<button type=\"submit\" id=\"kt_login_signin_submit\" data-load-text=\"Iniciando sesión...\" class=\"btn btn-primary font-weight-bolder font-size-h6 px-8 py-4 my-3 mr-3\">Iniciar sesión</button>
</div>
<!--end::Action-->
<div class=\"pb-lg-0 pb-5 text-center pt-5\">
<a href=\"{{ path('publico_orden_new') }}\" data-load-text=\"Cargando...\">Acceder al Taller</a>
</div>
</form>
</div>
</div>
<!--end::Card-->
</div>
<!--end::Form-->
</div>
<!--end::Signin-->
</div>
<!--end::Content body-->
</div>
<!--end::Content-->
</div>
<!--end::Login-->
<!--end::Main-->
{% endblock %}", "security/login.html.twig", "/var/www/vhosts/apunts.es/moldes.apunts.es/templates/security/login.html.twig");
}
}