<script type="text/javascript">
    var sitekey = '<?php e($public_key); ?>';
</script>
<!--login-->
<div class="container-form-home">
    <div class="row">
        <div class="col-md-12">
            <div class="content-title">
                <h2>Já sou<span>cadastrado</span></h2>
            </div>
            <div class="content-form">
                <a class="btn btn-primary" 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" 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="" value="<?php e($email_anunciar??'')?>" autofocus>
                    </div>
                    <div class="form-group">
                        <label for="password">Senha</label> 
                        <input type="password" name="password" class="form-control" id="password" placeholder="*********" required="">
                        <span toggle="#password" class="fa fa-fw fa-eye field-icon toggle-password-login"></span>
                    </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 content-btn">
                        <button type="submit" class="btn btn-success btn-login">Entrar</button>
                    </div>
                </form>
            </div>
            <div class="content-bottom">
                <div class="form-group">
                    <!--<div id="content-error"></div>-->
                    <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>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>