<script type="text/javascript">
    var sitekey = '<?php e($public_key); ?>';
</script>
<!-- Modal -->
<div class="modal fade modal-login-site">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h3 class="modal-title">Já sou cadastrado</h3>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <div class="content-form">
            <a class="btn btn-primary mt-4" href="<?php echo htmlspecialchars($url); ?>"><i class="fa fa-facebook-official ico-login" aria-hidden="true"></i> Entrar com o Facebook</a>
            <fieldset>
                <legend>ou</legend>
            </fieldset>
            <form id="login-form-modal" action="<?php e(base_url()); ?>comdono/ajax/login_ajax" method="post" class="needs-validation">
                <div class="form-group">
                    <label for="email">E-mail</label>
                    <input type="email" name="email" class="form-control" id="email" placeholder="Endereço de e-mail" required="">
                </div>
                <div class="form-group">
                    <label for="password">Senha</label> 
                    <input type="password" name="password" class="form-control" id="password" placeholder="*********" required="">
                </div>
                <input type="hidden" id="validCaptcha" value="<?php $gcaptcha?>">
                <div class="captcha <?php e($gcaptcha==true?'d-flex':'d-none') ?>">
				    <div id="gcaptcha" class="box-captcha"></div>
				</div>
				
                <div id="content-error" class="content-error my-2"></div>
                
                <div class="form-group my-4">
                    <button type="submit" class="btn btn-success btn-login-modal ">Entrar</button>
                </div>
            </form>
        </div>
        <div class="content-bottom">
            <div class="form-group">                
                <label>Não tem uma conta? <a href="<?php e(base_url("cadastro")); ?>">Criar Conta</a></label><br>
                <label><a href="<?php e(base_url("recuperar-senha")); ?>">Esqueci a senha</a></label>
            </div>
        </div>
      </div>
    </div>
  </div>
</div>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>