<?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;
/* front/security/login.html.twig */
class __TwigTemplate_e523b0e9f7d10bb26a557b0fa8b435008d3c599a0305d8489796695af4797b07 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'content_class' => [$this, 'block_content_class'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "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", "front/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", "front/security/login.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "front/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 " ";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Connexion", [], "messages");
echo " | ";
$this->displayParentBlock("title", $context, $blocks);
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 4
public function block_content_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", "content_class"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_class"));
echo "bg-gray-white p-div40";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 6
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 7
echo twig_include($this->env, $context, "base-default/message-flash.html.twig");
echo "
<div class=\"login-content\">
<h2 class=\"brand-text text-center mb-3\">
<span class=\"brand-logo\" style=\"font-weight: bold; font-size: 1.5rem; color: #8b8e9f\">
<i class=\"fal fa-sign-in-alt\"></i>
</span>
<span style=\"font-weight: bold; color: #8b8e9f !important; font-size: 1.5rem\" class=\"login-none\"> CONNEXION </span>
<span style=\"color: #3aaced; font-weight: bold; font-size: 1.5rem\">RYV</span><span style=\"color: #f9b90f; font-weight: bold; font-size: 1.5rem\">UP</span>
</h2>
<div class=\"login\">
<form method=\"post\" style=\"padding-bottom: 55px !important;\">
<div class=\"text-center text-theme-gray mb-2\">
";
// line 19
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Pas encore membre ?", [], "messages");
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_front_register");
echo "\" class=\"text-theme-gray text-decoration-underline\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Créer un compte", [], "messages");
echo "</a>.
</div>
";
// 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\" style=\"padding: 0.2rem 1.3rem !important; margin-top: 1rem; font-size: 13px\">Votre e-mail ou votre mot de passe est incorrect. </div>
";
}
// line 25
echo "
";
// line 26
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, 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.', 26, $this->source); })()), "session", [], "any", false, false, false, 26), "flashbag", [], "any", false, false, false, 26), "get", ["auth"], "method", false, false, false, 26));
foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) {
echo "
<div class=\"alert alert-danger\" style=\"padding: 0.2rem 1.3rem !important; margin-top: 1rem; font-size: 13px\">
";
// line 28
echo $context["flash_message"];
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 31
echo "
<label for=\"inputEmail\">Email</label>
<input type=\"email\" value=\"";
// line 33
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.', 33, $this->source); })()), "html", null, true);
echo "\" name=\"email\" id=\"inputEmail\" class=\"form-control\" autocomplete=\"email\" required autofocus>
<div class=\"width-100 d-flex justify-content-between\">
<label for=\"inputPassword\" class=\"width-auto\">Password</label>
<a href=\"";
// line 36
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_forgot_password_request");
echo "\" class=\"link-forgot-password\">
<small>Mot de passe oublié?</small>
</a>
</div>
<div class=\"input-group input-group-merge form-password-toggle\">
<input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" autocomplete=\"current-password\" required>
<span class=\"input-group-text cursor-pointer\"><i class=\"fal fa-eye\"></i></span>
</div>
<input type=\"hidden\" name=\"_csrf_token\" value=\"";
// line 44
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
echo "\">
<div class=\"mb-1\">
<div class=\"form-check\">
<input class=\"form-check-input\" id=\"_remember_me\" type=\"checkbox\" name=\"_remember_me\" tabindex=\"3\">
<label class=\"form-check-label\" for=\"_remember_me\"> Se souvenir de moi</label>
</div>
</div>
<button class=\"log-submit-btn color-bg\" type=\"submit\"> ";
// line 53
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Connexion", [], "messages");
echo " </button>
</form>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "front/security/login.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 195 => 53, 183 => 44, 172 => 36, 166 => 33, 162 => 31, 153 => 28, 146 => 26, 143 => 25, 139 => 23, 137 => 22, 127 => 19, 112 => 7, 102 => 6, 83 => 4, 60 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %} {% trans %}Connexion {% endtrans %} | {{ parent() }} {% endblock %}
{% block content_class %}bg-gray-white p-div40{% endblock %}
{% block body %}
{{ include('base-default/message-flash.html.twig') }}
<div class=\"login-content\">
<h2 class=\"brand-text text-center mb-3\">
<span class=\"brand-logo\" style=\"font-weight: bold; font-size: 1.5rem; color: #8b8e9f\">
<i class=\"fal fa-sign-in-alt\"></i>
</span>
<span style=\"font-weight: bold; color: #8b8e9f !important; font-size: 1.5rem\" class=\"login-none\"> CONNEXION </span>
<span style=\"color: #3aaced; font-weight: bold; font-size: 1.5rem\">RYV</span><span style=\"color: #f9b90f; font-weight: bold; font-size: 1.5rem\">UP</span>
</h2>
<div class=\"login\">
<form method=\"post\" style=\"padding-bottom: 55px !important;\">
<div class=\"text-center text-theme-gray mb-2\">
{% trans %}Pas encore membre ?{% endtrans %} <a href=\"{{ url('app_front_register') }}\" class=\"text-theme-gray text-decoration-underline\">{% trans %}Créer un compte{% endtrans %}</a>.
</div>
{% if error %}
<div class=\"alert alert-danger\" style=\"padding: 0.2rem 1.3rem !important; margin-top: 1rem; font-size: 13px\">Votre e-mail ou votre mot de passe est incorrect. </div>
{% endif %}
{% for flash_message in app.session.flashbag.get('auth') %}
<div class=\"alert alert-danger\" style=\"padding: 0.2rem 1.3rem !important; margin-top: 1rem; font-size: 13px\">
{{ flash_message|raw }}
</div>
{% endfor %}
<label for=\"inputEmail\">Email</label>
<input type=\"email\" value=\"{{ last_username }}\" name=\"email\" id=\"inputEmail\" class=\"form-control\" autocomplete=\"email\" required autofocus>
<div class=\"width-100 d-flex justify-content-between\">
<label for=\"inputPassword\" class=\"width-auto\">Password</label>
<a href=\"{{ url('app_forgot_password_request') }}\" class=\"link-forgot-password\">
<small>Mot de passe oublié?</small>
</a>
</div>
<div class=\"input-group input-group-merge form-password-toggle\">
<input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" autocomplete=\"current-password\" required>
<span class=\"input-group-text cursor-pointer\"><i class=\"fal fa-eye\"></i></span>
</div>
<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
<div class=\"mb-1\">
<div class=\"form-check\">
<input class=\"form-check-input\" id=\"_remember_me\" type=\"checkbox\" name=\"_remember_me\" tabindex=\"3\">
<label class=\"form-check-label\" for=\"_remember_me\"> Se souvenir de moi</label>
</div>
</div>
<button class=\"log-submit-btn color-bg\" type=\"submit\"> {% trans %}Connexion{% endtrans %} </button>
</form>
</div>
</div>
{% endblock %}
", "front/security/login.html.twig", "/var/www/vhosts/resoh.fr/httpdocs/templates/front/security/login.html.twig");
}
}