{% include 'header.twig' %}

	<div class="container">
  <div class="row">    </div> 
<div class="container">
  <div class="row">
    <div class="col-md-8 col-md-offset-2">
      <div class="well">
				    
				    {% if errorText %}
        <div class="alert alert-dismissible alert-danger">
          <button type="button" class="close" data-dismiss="alert">×</button>
          {{ errorText }}
        </div>
      {% endif %}
      {% if successText %}
        <div class="alert alert-dismissible alert-success">
          <button type="button" class="close" data-dismiss="alert">×</button>
          {{ successText }}
        </div>
      {% endif %}
                            <form  method="post" action="/">
                               
                                    
                                    
                                    							   <div class="form-group">
            <label for="username" class="control-label">{{ lang['signin.username'] }}</label>
								  <input name="username" class="form-control" id="username" type="text" placeholder="Username" value="{{ data["username"] }} ">
								</div>

							 <div class="form-group form-group__password">
            <label for="password" class="control-label">{{ lang['signin.password'] }}</label>
								  <input name="password" class="form-control" id="password" type="password" placeholder="Password">
								   <a href="/resetpassword" class="forgot-password">Forgot password?</a>
								  </div>
                                    
								<div class="checkbox">
									<label>
										<input name="remember" id="remember" value='1' type="checkbox"> Remember me
									</label>
								</div>	
								<input type="hidden" name="csrf_token" value="{{ csrfToken }}">
							 <button type="submit" class="btn btn-primary">{{ lang['signin.button'] }} </button>	
							 
          {% if captcha %}
          <div class="form-group">
            <div class="g-recaptcha" data-sitekey="{{ captchaKey }}"></div>
          </div>
          {% endif %}

          <span >{{ google_login_content }} </span>
                      
                    <span class="pull-right pull-right-middle">Do not have an account? <a href="/signup">Sign up</a></span>
                  </form>
      </div>
    </div>
  </div>
</div>

    {% include 'footer.twig' %}
      