templates/security/front_login.html.twig line 1

Open in your IDE?
  1. {% extends 'layouts/front.html.twig' %}
  2. {% block title %}SACO EDUCATION | Log in{% endblock %}
  3. {% block bodyClass %}interne{% endblock %}
  4. {% block content %}
  5.  <section class="title-page cours-page" style="background:url({{ asset('build/images/bg_page_abonnement.jpg') }})">
  6.         <div class="container">
  7.             <div class="row">
  8.                 <div class="head_page">
  9.                 <div class="head">  Inscription </div> 
  10.                 <div class="sperateur"></div> 
  11.                     </div>
  12.                     
  13.                 </div>
  14.             </div>
  15.         </div>
  16.     </section>
  17.     <section class="breadcumbs">
  18.         <div class="container">
  19.             <div class="row">
  20.                 <div class="crumbs"><a href="#"> Home </a> > <a href=""> Connexion </a></div>
  21.             </div>
  22.         </div>
  23.     </section>
  24.     <section class="log-registre">
  25.         <div class="container">
  26.                 {% for flashError in app.flashes('captcha_invalide') %}
  27.                     <div class="alert alert-danger mb-3 w-100 position-relative" role="alert">{{ flashError }}</div>
  28.                 {% endfor %}
  29.             <div class="row">
  30.             <div class="col-md-6 col-sm-6 col-xs-12"><div class="row">
  31.             <div class="head-forms"> <i class="fa fa-user"></i> </div>
  32.                 <!-- /.login-logo -->
  33.                 {% if error %}
  34.                     <div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  35.                 {% endif %}
  36.                 <form method="post" class="tabs_perso" id="perso">
  37.                         <input type="email" value="{{ last_username }}" name="email" class="form-control"
  38.                                placeholder="{% trans %}Email{% endtrans %}" required autofocus>
  39.                         <input type="password" name="password" placeholder="{% trans %}Password{% endtrans %}" class="form-control"
  40.                                required>
  41.                     <div class="row">
  42.                         <div class="col-8">
  43.                             <div class="icheck-primary">
  44.                                 <input type="checkbox" id="remember" name="_remember_me">
  45.                                 <label for="remember">
  46.                                     Se souvenir de moi
  47.                                 </label>
  48.                             </div>
  49.                         </div>
  50.                         <!-- /.col -->
  51.                         <div class="col-4">
  52.                             <input type="hidden" name="_csrf_token"
  53.                                    value="{{ csrf_token('authenticate') }}"
  54.                             >
  55.                             <button type="submit" class="submit">
  56.                                 <i class="icon icon-left-arrow gly-rotate"> </i> Connexion
  57.                             </button>
  58.                         </div>
  59.                         <!-- /.col -->
  60.                     </div>
  61.                     <div class="row">
  62.                         <a href="{{ path('app_forgot_password_request') }}">Mot de passe oubliĆ© ?</a>
  63.                     </div>
  64.                 </form>
  65.                 <!-- /.login-card-body -->
  66.             </div></div>
  67.             
  68.             <div class="col-md-6 col-sm-6 col-xs-12"> 
  69.                 <div class="row">
  70.                 <div class="head-forms"> <i class="fa fa-address-card"></i> </div>
  71.                 <!-- /.login-logo -->
  72.                 {{ form_start(form, {'attr': {'class': 'tabs_perso', 'id': 'perso'}}) }}
  73.                 {{ form_widget(form.firstName) }}
  74.                 {{ form_errors(form.firstName) }}
  75.                 {{ form_widget(form.lastName) }}
  76.                 {{ form_errors(form.lastName) }}
  77.                 {{ form_widget(form.email) }}
  78.                 {{ form_errors(form.email) }}
  79.                 {{ form_widget(form.password.first) }}
  80.                 {{ form_errors(form.password.first) }}
  81.                 {{ form_widget(form.password.second) }}
  82.                 {{ form_errors(form.password.second) }}
  83.                 {{ form_row(form.isAcceptPromos) }}
  84.                 
  85.                 <input type="hidden" name="recaptcha_response" >
  86.                 <input class="submit" type="submit" value="Envoyer">
  87.                 {{ form_end(form) }}
  88.                 <!-- /.login-card-body -->
  89.             </div>
  90.             </div>
  91.         </div>
  92.     </section>
  93. {% endblock %}
  94.     {% block faq %}
  95.     {% endblock %}