templates/registration/register.html.twig line 1

Open in your IDE?
  1. {% extends 'basic.html.twig' %}
  2. {% block title %}Register{% endblock %}
  3. {% block body %}
  4.     <div class="authentication-bg min-vh-100">
  5.         <div class="bg-overlay bg-white"></div>
  6.         <div class="container">
  7.             <div class="d-flex flex-column min-vh-100 px-3 pt-4">
  8.                 <div class="row justify-content-center my-auto">
  9.                     <div class="col-md-8 col-lg-6 col-xl-4">
  10.                         <div class="text-center py-5">
  11.                             <div class="mb-4 mb-md-5">
  12.                                 <a href="index.html" class="d-block auth-logo">
  13.                                     <img src="{{ asset('/assets/images/logo.png') }}" alt="" height="40" class="auth-logo-dark">
  14.                                 </a>
  15.                             </div>
  16.                             <div class="mb-4">
  17.                                 <h5 class="">Register Account</h5>
  18.                                 <p>Get your free Dashonic account now.</p>
  19.                             </div>
  20.                             {{ form_start(registrationForm) }}
  21.                                 {% for flash_error in app.flashes('verify_email_error') %}
  22.                                     <div class="alert alert-danger" role="alert">{{ flash_error }}</div>
  23.                                 {% endfor %}
  24.                                 <div class="form-floating form-floating-custom mb-3">
  25.                                     {{ form_widget(registrationForm.email, {'attr': {'class': 'form-control'}}) }}
  26.                                     <label for="input-email">Email</label>
  27.                                     <div class="form-floating-icon">
  28.                                         <i class="uil uil-envelope-alt"></i>
  29.                                     </div>
  30.                                 </div>
  31.                                 <div class="form-floating form-floating-custom mb-3">
  32.                                     {{ form_widget(registrationForm.plainPassword, {'attr': {'class': 'form-control'}}) }}
  33.                                     <label for="floatingPassword">Password</label>
  34.                                     <div class="form-floating-icon">
  35.                                         <i class="uil uil-padlock"></i>
  36.                                     </div>
  37.                                 </div>
  38.                                 <div class="text-start">
  39.                                     <p>{{ form_widget(registrationForm.agreeTerms, {'label': false}) }}
  40.                                     By registering you agree to the Dashonic <a href="#" class="text-decoration-underline">Terms of Use</a></p>
  41.                                 </div>
  42.                                 <div class="mt-3">
  43.                                     <button class="btn btn-info w-100" type="submit">Register</button>
  44.                                 </div>
  45.                             {{ form_end(registrationForm) }}
  46.                             <div class="mt-5 text-center">
  47.                                 <p>Already have an account ? <a href="{{ path('app_login') }}" class="fw-medium text-decoration-underline"> Signin </a></p>
  48.                             </div>
  49.                         </div>
  50.                     </div><!-- end col -->
  51.                 </div><!-- end row -->
  52.                 <div class="row">
  53.                     <div class="col-lg-12">
  54.                         <div class="text-center text-muted p-4">
  55.                             <p class="mb-0">&copy; <script>document.write(new Date().getFullYear())</script> Dashonic. Crafted with <i class="mdi mdi-heart text-danger"></i> by Pichforest</p>
  56.                         </div>
  57.                     </div>
  58.                 </div>
  59.             </div>
  60.         </div><!-- end container -->
  61.     </div>
  62. {% endblock %}