<!DOCTYPE html>
<html lang="ES-es">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<meta http-equiv="pragma" content="no-cache" />
		<title>Recuperar Contraseña | Seven</title>
		<meta name="description" content="Sistema de Ventas, Almacén y Facturación Electronica - Seven">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<link rel="shortcut icon" href="<?php echo e(asset('ico/favicon.ico')); ?>" type="image/x-icon">
		<link rel="stylesheet" href="<?php echo e(asset('css/semantic.css')); ?>">
		<link rel="stylesheet" href="<?php echo e(asset('css/login.css')); ?>">
	</head>
	<body cz-shortcut-listen="true">
		<!-- Start Login Page -->
		<section id="wrap">
			<div class="container">
				<span><img src="<?php echo e(asset('img/isologo.png')); ?>" alt="Seven"/></span>
				<h1>Seven</h1>
				<hr class="slideRight">
			</div>
			<div class="ui hidden divider"></div>	
			<div class="ui middle aligned center aligned grid">
			  <div class="column">
			  	<div class="ui success message">
					<i class="check circle icon"></i>Se ha enviado un codigo de verificacion a su correo electronico
			    </div>
			    <form class="ui form" method="POST" action="<?php echo e(route('resetme')); ?>" autocomplete="off">
			      <div class="ui piled segment">
			      	<?php echo e(csrf_field()); ?>

			        <div class="field">
			          <div class="ui large left icon input">
			            <i class="key icon"></i>
			            <input type="text" name="codigo" placeholder="Ingrese codigo de verificacion" required>
			          </div>
			        </div>
			        <br>
			        <button class="fluid ui primary button large " id="btn_login" type="submit">
			        	<i class="share icon"></i> Validar codigo
			        </button>
			        <br>
					    <a href="<?php echo e(route('recovery')); ?>" style="text-decoration: none"><i class="long arrow alternate left icon"></i>Regresar</a>
			      </div>
			    </form>
				<?php if($errors->any()): ?>
				    <div class="ui error message" style="text-align: left;">
						<ul>
							<?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
						    	<li><?php echo e($error); ?></li>
						    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
						</ul>    	
				    </div>
			    <?php endif; ?>
				<?php if(Session::has('flash_error')): ?>
				    <div class="ui error message">
						<i class="exclamation triangle icon"></i><?php echo e(Session::get('flash_error')); ?>

				    </div>
			    <?php endif; ?>
			    
			  </div>
			</div>


			<footer>
				<div id="copy">© Seven &nbsp;|&nbsp; <?php echo date("Y"); ?></div>
			</footer>
		</section>
		<!-- End Login Page -->

		<script src="<?php echo e(asset('js/jquery-3.3.1.min.js')); ?>"></script>
		<script src="<?php echo e(asset('js/semantic.min.js')); ?>"></script>
	</body>
</html>