templates/app/registration/register.html.twig line 1

Open in your IDE?
  1. <html lang="en" data-layout="vertical" data-topbar="light" data-sidebar="dark" data-sidebar-size="lg">
  2. <head>
  3.     <meta name="viewport" content="width=device-width, initial-scale=1">
  4.     <title>Sign Up</title>
  5.     {{ encore_entry_link_tags('userMain') }}
  6. </head>
  7. <body>
  8. <div class="auth-page-wrapper pt-5">
  9.     <!-- auth page bg -->
  10.     <div class="auth-one-bg-position auth-one-bg"  id="auth-particles">
  11.         <div class="bg-overlay"></div>
  12.         <div class="shape">
  13.             <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1440 120">
  14.                 <path d="M 0,36 C 144,53.6 432,123.2 720,124 C 1008,124.8 1296,56.8 1440,40L1440 140L0 140z"></path>
  15.             </svg>
  16.         </div>
  17.     </div>
  18.     <!-- auth page content -->
  19.     <div class="auth-page-content">
  20.         <div class="container">
  21.             <div class="row">
  22.                 <div class="col-lg-12">
  23.                     <div class="text-center mt-sm-5 mb-4 text-white-50">
  24.                         <div>
  25.                             <a href="/" class="d-inline-block auth-logo">
  26.                                 <img class="loginLogo" src="{{ asset('app/assets/images/logo-light.png') }}" alt="" height="80">
  27.                             </a>
  28.                         </div>
  29.                         <p class="mt-3 fs-15 fw-medium">Api Creation Service</p>
  30.                     </div>
  31.                 </div>
  32.             </div>
  33.             <!-- end row -->
  34.             <div class="row justify-content-center">
  35.                 <div class="col-md-8 col-lg-6 col-xl-5">
  36.                     <div class="card mt-4">
  37.                         <div class="card-body p-4">
  38.                             <div class="text-center mt-2">
  39.                                 <h5 class="text-primary">Create New Account</h5>
  40.                                 <p class="text-muted">Get your free Searchapi account now</p>
  41.                             </div>
  42.                             <div class="p-2 mt-4">
  43.                                 {{ form_start(registrationForm, {'attr': {'novalidate': true, 'class':'needs-validation'}} ) }}
  44.                                 {% if form_errors(registrationForm.plainPassword) or
  45.                                       form_errors(registrationForm.email) or
  46.                                       form_errors(registrationForm.name) or
  47.                                       form_errors(registrationForm.agreeTerms)
  48.                                 %}
  49.                                     <div class="alert alert-danger alert-border-left alert-dismissible fade show mb-xl-0" style="margin-bottom: 15px !important; font-size: 12px;" role="alert">
  50.                                         <i class="ri-error-warning-line me-3 align-middle fs-16"></i><strong>Error</strong>
  51.                                         {{ form_errors(registrationForm.plainPassword) }}
  52.                                         {{ form_errors(registrationForm.email) }}
  53.                                         {{ form_errors(registrationForm.name) }}
  54.                                         {{ form_errors(registrationForm.agreeTerms) }}
  55.                                         <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  56.                                     </div>
  57.                                 {% endif %}
  58.                                 <div class="row">
  59.                                     <div class="col-xxl-12 col-md-12 mb-3">
  60.                                         {{ form_label(registrationForm.email) }}<span class="text-danger">*</span>
  61.                                         {{ form_widget(registrationForm.email) }}
  62.                                         {{ form_help(registrationForm.email) }}
  63.                                         <div class="invalid-feedback">
  64.                                             Please enter valid a email
  65.                                         </div>
  66.                                     </div>
  67.                                     <div class="col-xxl-6 col-md-6 mb-3">
  68.                                         {{ form_label(registrationForm.companyName) }}<span class="text-danger">*</span>
  69.                                         {{ form_widget(registrationForm.companyName) }}
  70.                                         {{ form_help(registrationForm.companyName) }}
  71.                                         <div class="invalid-feedback">
  72.                                             Please enter a company name
  73.                                         </div>
  74.                                     </div>
  75.                                     <div class="col-xxl-6 col-md-6 mb-3">
  76.                                         {{ form_label(registrationForm.phone) }}<span class="text-danger">*</span>
  77.                                         {{ form_widget(registrationForm.phone) }}
  78.                                         {{ form_help(registrationForm.phone) }}
  79.                                         <div class="invalid-feedback">
  80.                                             Please enter a phone
  81.                                         </div>
  82.                                     </div>
  83.                                     <div class="col-xxl-6 col-md-6 mb-3">
  84.                                         {{ form_label(registrationForm.name) }}<span class="text-danger">*</span>
  85.                                         {{ form_widget(registrationForm.name) }}
  86.                                         {{ form_help(registrationForm.name) }}
  87.                                         <div class="invalid-feedback">
  88.                                             Please enter a name
  89.                                         </div>
  90.                                     </div>
  91.                                     <div class="col-xxl-6 col-md-6 mb-3">
  92.                                         {{ form_label(registrationForm.surname) }}<span class="text-danger">*</span>
  93.                                         {{ form_widget(registrationForm.surname) }}
  94.                                         {{ form_help(registrationForm.surname) }}
  95.                                         <div class="invalid-feedback">
  96.                                             Please enter a surname
  97.                                         </div>
  98.                                     </div>
  99.                                     <div class="col-xxl-12 col-md-12 mb-3"><span class="text-danger">*</span>
  100.                                         {{ form_label(registrationForm.plainPassword) }}
  101.                                         {{ form_widget(registrationForm.plainPassword) }}
  102.                                         <div class="invalid-feedback">
  103.                                             Password is required and your password should be at least 6 characters.
  104.                                         </div>
  105.                                     </div>
  106.                                     <div class="col-xxl-12 col-md-12 mb-3">
  107.                                         <div class="form-check mb-3">
  108.                                             {{ form_label(registrationForm.agreeTerms) }}<span class="text-danger">*</span>
  109.                                             {{ form_widget(registrationForm.agreeTerms) }}
  110.                                             {{ form_help(registrationForm.agreeTerms) }}
  111.                                             <div class="invalid-feedback">
  112.                                                 You should agree to our terms.
  113.                                             </div>
  114.                                         </div>
  115.                                     </div>
  116.                                 </div>
  117.                                 <button class="btn btn-success w-100" type="submit">Sign Up</button>
  118.                                 {{ form_end(registrationForm) }}
  119.                             </div>
  120.                         </div>
  121.                         <!-- end card body -->
  122.                     </div>
  123.                     <!-- end card -->
  124.                     <div class="mt-4 text-center">
  125.                         <p class="mb-0">Already have an account ? <a href="{{ path('login') }}" class="fw-semibold text-primary text-decoration-underline"> Signin </a> </p>
  126.                     </div>
  127.                 </div>
  128.             </div>
  129.             <!-- end row -->
  130.         </div>
  131.         <!-- end container -->
  132.     </div>
  133.     <!-- end auth page content -->
  134.     <!-- footer -->
  135.     <footer class="footer">
  136.         <div class="container">
  137.             <div class="row">
  138.                 <div class="col-lg-12">
  139.                     <div class="text-center">
  140.                         <p class="mb-0 text-muted">&copy; <script>document.write(new Date().getFullYear())</script> Searchapi.net.</p>
  141.                     </div>
  142.                 </div>
  143.             </div>
  144.         </div>
  145.     </footer>
  146.     <!-- end Footer -->
  147. </div>
  148. <!-- end auth-page-wrapper -->
  149. {{ encore_entry_script_tags('userMain') }}
  150. {{ encore_entry_script_tags('userLogin') }}
  151. </body>
  152. </html>