<?php $__env->startSection('css'); ?>
<?php echo HTML::style('css/back/login.css'); ?>

<?php $__env->stopSection(); ?>


<?php $__env->startSection('content'); ?>
<div class="login_box col-md-4 col-xs-6">
   <div class="logo"> <?php echo HTML::image('img/logo.png', Config::get('app.name'), array('class' => 'img-responsive')); ?> </div>
   <div class="logo_text"> Administración</div>
   <form method="POST" action="<?php echo e(route('auth/login')); ?>">
      <input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>">

      <div class="form-group">
         <input required="true" placeholder="Email" class='form-control' type="email" name="email" value="<?php echo e(old('email')); ?>">
      </div>
      <div class="form-group">
         <input required="true" placeholder="Password" class='form-control' type="password" name="password" id="password">
      </div>
      <!--      <div>
               <input type="checkbox" name="remember"> Remember Me
            </div>-->
      <?php if(count($errors) > 0): ?>
         <?php foreach($errors->all() as $error): ?>
         <div class="alert alert-danger">
            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
            <?php echo e($error); ?>

         </div>
         <?php endforeach; ?>
      <?php endif; ?>
      <div>
         <button class='btn btn-default' type="submit">Entrar</button>
      </div>
   </form>
</div>

<a style="margin: 10px; position: absolute; color: #bbb;" href="<?php echo e(route('home')); ?>">
   <span aria-hidden="true" class="glyphicon glyphicon-log-out"></span>
   Volver a la web
</a>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.cleanBase', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>