<?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;
/* @WitalinkStarter/security/login.html.twig */
class __TwigTemplate_4b0308375d8be7d10f69a9484484eb29cbc6cf57d0a4111997de843c81cc2206 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'body_class' => [$this, 'block_body_class'],
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@WitalinkStarter/base.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", "@WitalinkStarter/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", "@WitalinkStarter/security/login.html.twig"));
$this->parent = $this->loadTemplate("@WitalinkStarter/base.html.twig", "@WitalinkStarter/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 5
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 twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("title.sign_in", [], "starter"), "html", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 7
public function block_body_class($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_class"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_class"));
echo "hold-transition login-page";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 9
public function block_stylesheets($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", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 10
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 13
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 14
echo " <div class=\"card-body login-card-body\">
<p class=\"login-box-msg\">";
// line 15
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("txt.sign_in_to_start_your_session", [], "starter"), "html", null, true);
echo "</p>
";
// line 16
if ((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 16, $this->source); })())) {
// line 17
echo " <div class=\"alert alert-danger alert-dismissible\">
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
";
// line 19
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.', 19, $this->source); })()), "messageKey", [], "any", false, false, false, 19), 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.', 19, $this->source); })()), "messageData", [], "any", false, false, false, 19), "security"), "html", null, true);
echo "
</div>
";
}
// line 22
echo " ";
$this->loadTemplate("@WitalinkStarter/_components/_div_messages_flash.html.twig", "@WitalinkStarter/security/login.html.twig", 22)->display($context);
// line 23
echo " <form method=\"post\">
<div class=\"input-group mb-3\">
<input type=\"email\" value=\"";
// line 26
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.', 26, $this->source); })()), "html", null, true);
echo "\" name=\"email\" class=\"form-control\"
placeholder=\"";
// line 27
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("form.placeholder.email", [], "starter"), "html", null, true);
echo "\" required autofocus>
<div class=\"input-group-append\">
<div class=\"input-group-text\">
<span class=\"fas fa-envelope\"></span>
</div>
</div>
</div>
<div class=\"input-group mb-3\">
<input type=\"password\" class=\"form-control\" placeholder=\"";
// line 35
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("form.placeholder.password", [], "starter"), "html", null, true);
echo "\"
name=\"password\">
<div class=\"input-group-append\">
<div class=\"input-group-text\">
<span class=\"fas fa-lock\"></span>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col-7\">
";
// line 45
if ((isset($context["withRememberMe"]) || array_key_exists("withRememberMe", $context) ? $context["withRememberMe"] : (function () { throw new RuntimeError('Variable "withRememberMe" does not exist.', 45, $this->source); })())) {
// line 46
echo " <div class=\"icheck-primary\">
<input type=\"checkbox\" id=\"remember\" name=\"_remember_me\">
<label for=\"remember\">
";
// line 49
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("form.label.remember_me", [], "starter"), "html", null, true);
echo "
</label>
</div>
";
}
// line 53
echo " </div>
<!-- /.col -->
<div class=\"col-5\">
<input type=\"hidden\" name=\"_csrf_token\" value=\"";
// line 56
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
echo "\">
<button type=\"submit\" class=\"btn btn-primary btn-block\">";
// line 57
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("btn.sign_in", [], "starter"), "html", null, true);
echo "</button>
</div>
<!-- /.col -->
</div>
</form>
";
// line 63
$this->loadTemplate("@WitalinkStarter/_components/security/_register_social_auth_links.html.twig", "@WitalinkStarter/security/login.html.twig", 63)->display($context);
// line 64
echo "
<p class=\"mb-1\">
<a href=\"";
// line 66
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_forgot_password");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("link.forgot_password", [], "starter"), "html", null, true);
echo "</a>
</p>
";
// line 68
$this->loadTemplate("@WitalinkStarter/_components/security/_register_link.html.twig", "@WitalinkStarter/security/login.html.twig", 68)->display($context);
// line 69
echo " </div>
<!-- /.login-card-body -->
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 73
public function block_javascripts($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", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 74
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@WitalinkStarter/security/login.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 257 => 74, 247 => 73, 235 => 69, 233 => 68, 226 => 66, 222 => 64, 220 => 63, 211 => 57, 207 => 56, 202 => 53, 195 => 49, 190 => 46, 188 => 45, 175 => 35, 164 => 27, 160 => 26, 155 => 23, 152 => 22, 146 => 19, 142 => 17, 140 => 16, 136 => 15, 133 => 14, 123 => 13, 110 => 10, 100 => 9, 81 => 7, 62 => 5, 39 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@WitalinkStarter/base.html.twig' %}
{% trans_default_domain 'starter' %}
{% block title %}{{ 'title.sign_in'|trans }}{% endblock %}
{% block body_class %}hold-transition login-page{% endblock %}
{% block stylesheets %}
{{ parent() }}
{% endblock %}
{% block body %}
<div class=\"card-body login-card-body\">
<p class=\"login-box-msg\">{{ 'txt.sign_in_to_start_your_session'|trans }}</p>
{% if error %}
<div class=\"alert alert-danger alert-dismissible\">
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
{{ error.messageKey | trans(error.messageData, 'security') }}
</div>
{% endif %}
{% include('@WitalinkStarter/_components/_div_messages_flash.html.twig') %}
<form method=\"post\">
<div class=\"input-group mb-3\">
<input type=\"email\" value=\"{{ last_username }}\" name=\"email\" class=\"form-control\"
placeholder=\"{{ 'form.placeholder.email'|trans }}\" required autofocus>
<div class=\"input-group-append\">
<div class=\"input-group-text\">
<span class=\"fas fa-envelope\"></span>
</div>
</div>
</div>
<div class=\"input-group mb-3\">
<input type=\"password\" class=\"form-control\" placeholder=\"{{ 'form.placeholder.password'|trans }}\"
name=\"password\">
<div class=\"input-group-append\">
<div class=\"input-group-text\">
<span class=\"fas fa-lock\"></span>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col-7\">
{% if withRememberMe %}
<div class=\"icheck-primary\">
<input type=\"checkbox\" id=\"remember\" name=\"_remember_me\">
<label for=\"remember\">
{{ 'form.label.remember_me'|trans }}
</label>
</div>
{% endif %}
</div>
<!-- /.col -->
<div class=\"col-5\">
<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
<button type=\"submit\" class=\"btn btn-primary btn-block\">{{ 'btn.sign_in'|trans }}</button>
</div>
<!-- /.col -->
</div>
</form>
{% include('@WitalinkStarter/_components/security/_register_social_auth_links.html.twig') %}
<p class=\"mb-1\">
<a href=\"{{ path('app_forgot_password') }}\">{{ 'link.forgot_password'|trans }}</a>
</p>
{% include('@WitalinkStarter/_components/security/_register_link.html.twig') %}
</div>
<!-- /.login-card-body -->
{% endblock %}
{% block javascripts %}
{{ parent() }}
{% endblock %}", "@WitalinkStarter/security/login.html.twig", "/home/clients/e3fe47db123c9b860409f68f2d882ad7/sites/demo.eazirp.fr/vendor/witalink/starter-bundle/src/Resources/views/security/login.html.twig");
}
}