<?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/front_login.html.twig */
class __TwigTemplate_2927500be4d6ab7df64c9c86263df9bf extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'bodyClass' => [$this, 'block_bodyClass'],
'content' => [$this, 'block_content'],
'faq' => [$this, 'block_faq'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layouts/front.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/front_login.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/front_login.html.twig"));
$this->parent = $this->loadTemplate("layouts/front.html.twig", "security/front_login.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "SACO EDUCATION | Log in";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
public function block_bodyClass($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyClass"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyClass"));
echo "interne";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 7
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 8
echo " <section class=\"title-page cours-page\" style=\"background:url(";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/bg_page_abonnement.jpg"), "html", null, true);
echo ")\">
<div class=\"container\">
<div class=\"row\">
<div class=\"head_page\">
<div class=\"head\"> Inscription </div>
<div class=\"sperateur\"></div>
</div>
</div>
</div>
</div>
</section>
<section class=\"breadcumbs\">
<div class=\"container\">
<div class=\"row\">
<div class=\"crumbs\"><a href=\"#\"> Home </a> > <a href=\"\"> Connexion </a></div>
</div>
</div>
</section>
<section class=\"log-registre\">
<div class=\"container\">
";
// line 30
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(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.', 30, $this->source); })()), "flashes", [0 => "captcha_invalide"], "method", false, false, false, 30));
foreach ($context['_seq'] as $context["_key"] => $context["flashError"]) {
// line 31
echo " <div class=\"alert alert-danger mb-3 w-100 position-relative\" role=\"alert\">";
echo twig_escape_filter($this->env, $context["flashError"], "html", null, true);
echo "</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashError'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 33
echo "
<div class=\"row\">
<div class=\"col-md-6 col-sm-6 col-xs-12\"><div class=\"row\">
<div class=\"head-forms\"> <i class=\"fa fa-user\"></i> </div>
<!-- /.login-logo -->
";
// line 38
if ((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 38, $this->source); })())) {
// line 39
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.', 39, $this->source); })()), "messageKey", [], "any", false, false, false, 39), 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.', 39, $this->source); })()), "messageData", [], "any", false, false, false, 39), "security"), "html", null, true);
echo "</div>
";
}
// line 41
echo "
<form method=\"post\" class=\"tabs_perso\" id=\"perso\">
<input type=\"email\" value=\"";
// line 43
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.', 43, $this->source); })()), "html", null, true);
echo "\" name=\"email\" class=\"form-control\"
placeholder=\"";
// line 44
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Email", [], "messages");
echo "\" required autofocus>
<input type=\"password\" name=\"password\" placeholder=\"";
// line 45
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Password", [], "messages");
echo "\" class=\"form-control\"
required>
<div class=\"row\">
<div class=\"col-8\">
<div class=\"icheck-primary\">
<input type=\"checkbox\" id=\"remember\" name=\"_remember_me\">
<label for=\"remember\">
Se souvenir de moi
</label>
</div>
</div>
<!-- /.col -->
<div class=\"col-4\">
<input type=\"hidden\" name=\"_csrf_token\"
value=\"";
// line 59
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
echo "\"
>
<button type=\"submit\" class=\"submit\">
<i class=\"icon icon-left-arrow gly-rotate\"> </i> Connexion
</button>
</div>
<!-- /.col -->
</div>
<div class=\"row\">
<a href=\"";
// line 68
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_forgot_password_request");
echo "\">Mot de passe oubliƩ ?</a>
</div>
</form>
<!-- /.login-card-body -->
</div></div>
<div class=\"col-md-6 col-sm-6 col-xs-12\">
<div class=\"row\">
<div class=\"head-forms\"> <i class=\"fa fa-address-card\"></i> </div>
<!-- /.login-logo -->
";
// line 78
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 78, $this->source); })()), 'form_start', ["attr" => ["class" => "tabs_perso", "id" => "perso"]]);
echo "
";
// line 79
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 79, $this->source); })()), "firstName", [], "any", false, false, false, 79), 'widget');
echo "
";
// line 80
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 80, $this->source); })()), "firstName", [], "any", false, false, false, 80), 'errors');
echo "
";
// line 81
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 81, $this->source); })()), "lastName", [], "any", false, false, false, 81), 'widget');
echo "
";
// line 82
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 82, $this->source); })()), "lastName", [], "any", false, false, false, 82), 'errors');
echo "
";
// line 83
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 83, $this->source); })()), "email", [], "any", false, false, false, 83), 'widget');
echo "
";
// line 84
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 84, $this->source); })()), "email", [], "any", false, false, false, 84), 'errors');
echo "
";
// line 85
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 85, $this->source); })()), "password", [], "any", false, false, false, 85), "first", [], "any", false, false, false, 85), 'widget');
echo "
";
// line 86
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 86, $this->source); })()), "password", [], "any", false, false, false, 86), "first", [], "any", false, false, false, 86), 'errors');
echo "
";
// line 87
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 87, $this->source); })()), "password", [], "any", false, false, false, 87), "second", [], "any", false, false, false, 87), 'widget');
echo "
";
// line 88
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 88, $this->source); })()), "password", [], "any", false, false, false, 88), "second", [], "any", false, false, false, 88), 'errors');
echo "
";
// line 89
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 89, $this->source); })()), "isAcceptPromos", [], "any", false, false, false, 89), 'row');
echo "
<input type=\"hidden\" name=\"recaptcha_response\" >
<input class=\"submit\" type=\"submit\" value=\"Envoyer\">
";
// line 93
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 93, $this->source); })()), 'form_end');
echo "
<!-- /.login-card-body -->
</div>
</div>
</div>
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 101
public function block_faq($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "faq"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "faq"));
// line 102
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "security/front_login.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 296 => 102, 286 => 101, 268 => 93, 261 => 89, 257 => 88, 253 => 87, 249 => 86, 245 => 85, 241 => 84, 237 => 83, 233 => 82, 229 => 81, 225 => 80, 221 => 79, 217 => 78, 204 => 68, 192 => 59, 175 => 45, 171 => 44, 167 => 43, 163 => 41, 157 => 39, 155 => 38, 148 => 33, 139 => 31, 135 => 30, 109 => 8, 99 => 7, 80 => 5, 61 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'layouts/front.html.twig' %}
{% block title %}SACO EDUCATION | Log in{% endblock %}
{% block bodyClass %}interne{% endblock %}
{% block content %}
<section class=\"title-page cours-page\" style=\"background:url({{ asset('build/images/bg_page_abonnement.jpg') }})\">
<div class=\"container\">
<div class=\"row\">
<div class=\"head_page\">
<div class=\"head\"> Inscription </div>
<div class=\"sperateur\"></div>
</div>
</div>
</div>
</div>
</section>
<section class=\"breadcumbs\">
<div class=\"container\">
<div class=\"row\">
<div class=\"crumbs\"><a href=\"#\"> Home </a> > <a href=\"\"> Connexion </a></div>
</div>
</div>
</section>
<section class=\"log-registre\">
<div class=\"container\">
{% for flashError in app.flashes('captcha_invalide') %}
<div class=\"alert alert-danger mb-3 w-100 position-relative\" role=\"alert\">{{ flashError }}</div>
{% endfor %}
<div class=\"row\">
<div class=\"col-md-6 col-sm-6 col-xs-12\"><div class=\"row\">
<div class=\"head-forms\"> <i class=\"fa fa-user\"></i> </div>
<!-- /.login-logo -->
{% if error %}
<div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
<form method=\"post\" class=\"tabs_perso\" id=\"perso\">
<input type=\"email\" value=\"{{ last_username }}\" name=\"email\" class=\"form-control\"
placeholder=\"{% trans %}Email{% endtrans %}\" required autofocus>
<input type=\"password\" name=\"password\" placeholder=\"{% trans %}Password{% endtrans %}\" class=\"form-control\"
required>
<div class=\"row\">
<div class=\"col-8\">
<div class=\"icheck-primary\">
<input type=\"checkbox\" id=\"remember\" name=\"_remember_me\">
<label for=\"remember\">
Se souvenir de moi
</label>
</div>
</div>
<!-- /.col -->
<div class=\"col-4\">
<input type=\"hidden\" name=\"_csrf_token\"
value=\"{{ csrf_token('authenticate') }}\"
>
<button type=\"submit\" class=\"submit\">
<i class=\"icon icon-left-arrow gly-rotate\"> </i> Connexion
</button>
</div>
<!-- /.col -->
</div>
<div class=\"row\">
<a href=\"{{ path('app_forgot_password_request') }}\">Mot de passe oubliƩ ?</a>
</div>
</form>
<!-- /.login-card-body -->
</div></div>
<div class=\"col-md-6 col-sm-6 col-xs-12\">
<div class=\"row\">
<div class=\"head-forms\"> <i class=\"fa fa-address-card\"></i> </div>
<!-- /.login-logo -->
{{ form_start(form, {'attr': {'class': 'tabs_perso', 'id': 'perso'}}) }}
{{ form_widget(form.firstName) }}
{{ form_errors(form.firstName) }}
{{ form_widget(form.lastName) }}
{{ form_errors(form.lastName) }}
{{ form_widget(form.email) }}
{{ form_errors(form.email) }}
{{ form_widget(form.password.first) }}
{{ form_errors(form.password.first) }}
{{ form_widget(form.password.second) }}
{{ form_errors(form.password.second) }}
{{ form_row(form.isAcceptPromos) }}
<input type=\"hidden\" name=\"recaptcha_response\" >
<input class=\"submit\" type=\"submit\" value=\"Envoyer\">
{{ form_end(form) }}
<!-- /.login-card-body -->
</div>
</div>
</div>
</section>
{% endblock %}
{% block faq %}
{% endblock %}", "security/front_login.html.twig", "/home/saco/subdomains/preprod/templates/security/front_login.html.twig");
}
}