{% include 'header.twig' %}


<main id="notLogin">
            <section id="signUp">
  <div class="container">
    <div class="row">
      <div class="col-md-12">
        <div class="sigup_title">
          <h1>Signup Now</h1>
        </div>
      </div>
    </div>
  </div>
  <div class="container my-5">
    <div class="row">
      <div class="col-md-3"></div>
      <div class="col-md-6">
        <div class="card card_v2 mb-5">
          <div class="card-body">
  
              {% if errorText %}
        <div class="alert alert-dismissible alert-danger">
          <button type="button" class="close" data-dismiss="alert">&times;</button>
          {{ errorText }}
        </div>
      {% endif %}
      {% if successText %}
        <div class="alert alert-dismissible alert-success">
          <button type="button" class="close" data-dismiss="alert">&times;</button>
          {{ successText }}
        </div>
      {% endif %}
  
            <form  action="" method="post">
                                          <div class="form-group mb-3">
                <label for="username" class="control-label mb-1">
                  <span class="icon">
                    <i class="far fa-user-circle"></i>
                  </span> 
                  <span class="name">
                    Username
                  </span>
                </label>
                <input type="text" class="form-control" id="username" value="{{ data['username'] }}" name="username">
              </div>
                             {% if settings['name_fileds']  ==  1 %}  <div class="form-group mb-3">
                  <label for="firstname" class="control-label mb-1">
                    <span class="icon">
                      <i class="far fa-file-signature"></i>
                    </span> 
                    <span class="name">
                      First name
                    </span>
                   </label>
                  <input type="text" class="form-control" id="firstname" value="{{ data['name'] }}" name="name">
                </div>{% endif %}
                

                            <div class="form-group mb-3">
                <label for="email" class="control-label mb-1">
                  <span class="icon">
                    <i class="fas fa-envelope"></i>
                  </span> 
                  <span class="name">
                    Email
                  </span>
                  </label>
                <input type="email" class="form-control" id="email" value="{{ data['email'] }}" name="email">
              </div>
                            <div class="form-group mb-3">
                <label for="password" class="control-label mb-1">
                  <span class="icon">
                    <i class="fas fa-lock"></i>
                  </span> 
                  <span class="name">
                    Password
                  </span>
                 </label>
                <input type="password" class="form-control" id="password" name="password">
              </div>
              <div class="form-group mb-3">
                <label for="confirm" class="control-label mb-1">
                  <span class="icon">
                    <i class="fas fa-lock"></i>
                  </span> 
                  <span class="name">
                    Confirm password
                  </span>
                  </label>
                <input type="password" class="form-control" id="confirm" name="password_again">
              </div>
                            {% if captcha %}
            <div class="form-group">
              <div class="g-recaptcha" data-sitekey="{{ captchaKey }}"></div>
            </div>
          {% endif %}
            
             <div class="checkbox">
            <label>
              <input type="checkbox" name="terms" value="1"> {{ lang['signup.accept_terms_text'] }}
            </label>
          </div>
            
              <button type="submit" class="btn btn-primary d-block w-100">Sign up</button>
            </form>
            <p class="text-center">
              Already have an account? <a href="/">Sign in</a>
            </p>
  
  
          </div>
        </div>
      </div>
      <div class="col-md-3"></div>
    </div>
  </div>
</section>
            </main>
          

    

{% include 'footer.twig' %}
