{% 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 %}