

<body class="bg-home">
<div class="overlay"></div>
	<div class="container div-login">
<?php
$input_doc = array(
        'name'          => 'documento',
        'id'            => 'documento',
        'type'			=> 'text',
        'value'			=> '',
        'placeholder'   => 'Documento',
        'autofocus'   => 'autofocus',
        'class'         => 'input'
);
$input_pass = array(
        'name'          => 'password',
        'id'            => 'password',
        'type'			=> 'password',
        'value'         => '',
        'placeholder'   => 'Contraseña',
        'class'         => 'input'
);
//phpinfo();
?>
            <?php if ($error){
			?>
			<div class="alert alert-error msg-err-login center">
            	<a class="close" data-dismiss="alert" href="#">×</a><?php echo $error ?>
          	</div>
          	<?php
          	}
          	?>
		<img id="logo-login" src="<?php echo base_url() ?>template/img/logo-w.png" />
		<h2 class="company">PERMODA LTDA</h2>
		<div class="row justify-content-md-center">
			<div class="col-md-3 div-form-login">
				<?php echo form_open('login/login_user',array('class'=>'validate-form' , 'id'=>'form-login')) ?>
				<div class="wrap-input validate-input m-b-10" data-validate = "Documento es requerido">

					<?php echo form_input($input_doc); ?>
					<span class="focus-input"></span>
						<span class="symbol-input">
							<i class="fas fa-user"></i>
						</span>
				</div>
				<div class="wrap-input validate-input m-b-10" data-validate = "Contraseña es requerida">
					<?php echo form_input($input_pass); ?>
					<span class="focus-input"></span>
						<span class="symbol-input">
							<i class="fas fa-lock"></i>
						</span>
				</div>

				<div class="form-group">

				<!--<div class="g-recaptcha" data-sitekey="6LfiwhcTAAAAAIWOlKtrTiF_Bgi1YXuJz8zBDrOU"></div>-->
				</div>
				<button type="submit" name="entrar" id="entrar" class="btn-action login-form-btn" data-loading-text="<i class='fas fa-spin fa-spinner'></i> Comprobando datos...">
					<i class="fas fa-sign-in-alt"></i>
					Entrar
				</button>
				</form>
			</div>
		</div>
	</div>
