templates/auth/sign_up.html.twig line 1

Open in your IDE?
  1. {% extends 'standard_tpl.html.twig' %}
  2. {% set content = {'title':'Sign up'} %}
  3. {% block page_banner 'minimal' %}
  4. {% block content %}
  5.     <!-- Register -->
  6.     <section class="login-wrapper">
  7.         <div class="container">
  8.             <div class="row d-flex justify-content-center">
  9.                 <div class="col-lg-4">
  10.                     <h2 class="checkout-form-title text-center">Create Account</h2>
  11.                     <p class="text-center">All fields are require.</p>
  12.                     {{ form_start(form, {'attr':{'class':'form-style'}}) }}
  13.                         <div class="row">
  14.                             <div class="col-sm-12">
  15.                                 <div class="form-group">
  16.                                     <label class="d-none" for="firstname">First Name</label>
  17.                                     {{ form_widget(form.firstname )}}
  18.                                     {{ flash_form_errors(form.firstname) }}
  19.                                 </div>                                
  20.                             </div>
  21.                             <div class="col-sm-12">
  22.                                 <div class="form-group">
  23.                                     <label class="d-none" for="lastname">Last Name</label>
  24.                                     {{ form_widget(form.lastname )}}
  25.                                     {{ flash_form_errors(form.lastname) }}
  26.                                 </div>                                    
  27.                             </div>  
  28.                             <div class="col-sm-12">
  29.                                 <div class="form-group">
  30.                                     <label class="d-none" for="email">Email</label>
  31.                                     {{ form_widget(form.email )}}
  32.                                     {{ flash_form_errors(form.email) }}
  33.                                 </div>
  34.                             </div>
  35.                             <div class="col-sm-12">
  36.                                 <div class="form-group">
  37.                                     <label class="d-none" for="passowrd">Passowrd</label>
  38.                                     {{ form_widget(form.plainPassword )}}
  39.                                     {{ flash_form_errors(form.plainPassword) }}
  40.                                 </div>
  41.                             </div>
  42.                             <div class="col-sm-12">
  43.                                 <div class="form-check mt-3 checkout-form-check p-0">
  44.                                     {{ form_widget(form.agreeTerms) }}
  45.                                     <label class="form-check-label" for="flexCheckDefault2">
  46.                                         I have read and agree to the terms &amp; conditions
  47.                                     </label>
  48.                                 </div>   
  49.                             </div>
  50.                             <div class="col-sm-12">                         
  51.                                 <div class="mt-4 checkout-btn-list">
  52.                                     <button type="submit" class="btn btn-teritary-fast w-100">Sign Up</button>
  53.                                 </div>  
  54.                             </div>                      
  55.                         </div>
  56.                     {{ form_end(form) }}
  57.                 </div>
  58.             </div>
  59.         </div>
  60.     </section>
  61.     <!-- Register -->    
  62. {% endblock %}