templates/homesignup.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}- Créer un compte{% endblock %}
  3. {% block menu %}
  4. {% endblock %}
  5. {%block body%}
  6. <main>
  7.     <!-- Section -->
  8.     <section class="min-vh-100 d-flex align-items-center section-image overlay-soft-dark py-5 py-lg-0" data-background="{{ asset('assets/img/cards-3662554_1920.jpg') }}">
  9.         <div class="container">
  10.             <div class="row justify-content-center">
  11.                 <div class="col-12">
  12.                     <div class="text-center text-md-center mb-5 mt-md-0 text-white">
  13.                         <h1 class="mb-0 h3">Créer un compte</h1>
  14.                     </div>
  15.                 </div>
  16.                 <div class="col-12 d-flex align-items-center justify-content-center">
  17.                     <div class="signin-inner mt-3 mt-lg-0 bg-white shadow-soft border rounded border-light p-4 p-lg-5 w-100 fmxw-500">
  18.                         {{ include('flashmessages/flashmessages.html.twig') }}
  19.                         <span class="clearfix"></span>
  20.                         {{ form_start(formregister) }}
  21.                         {{form_row(formregister.email)}}
  22.                         {{form_row(formregister.plainPassword)}}
  23.                         {{form_row(formregister.recaptchatoken)}}
  24.                         <div class="form-check round-check mb-3">
  25.                             <input class="form-check-input" type="checkbox" id="termsofuse" required>
  26.                             <label class="form-check-label" for="termsofuse">
  27.                                 <span class="small">Vous avez lu et vous acceptez les <a href="{{ path('home_route', {'routename':'termsofuse'}, relative = false) }}">conditions d'utilisation</a></span>
  28.                             </label>
  29.                         </div>
  30.                         {{form_row(formregister.register)}}
  31.                         {{ form_end(formregister) }}
  32.                         <div class="mt-4 text-center"><small>Vous avez déjà un compte?</small>
  33.                             <a href="{{ path('app_login', {}, relative = false) }}" class="small font-weight-bold">Connexion</a>
  34.                         </div>
  35.                     </div>
  36.                 </div>
  37.             </div>
  38.         </div>
  39.     </section>
  40. </main>
  41. <!-- Recaptcha -->
  42. <script src="https://www.google.com/recaptcha/api.js?render=6Le2aesUAAAAAG4fDNIF_lqShoh6-PvS2lHexW2K"></script>
  43. <script src="{{ asset('/assets/js/recaptcha.js') }}"></script>
  44. {%endblock%}