<?php $__env->startSection('content'); ?>

<div class="w3-container w3-card-4 w3-round-large w3-padding-16 w3-white" style="/*background-color: rgba(255, 255, 255, 0.7);*/">
    <h2 class="w3-center w3-text-grey"><span class="fa fa-user-circle fa-fw fa-3x"></span></h2>
    <hr>
    <form role="form" method="POST" action="<?php echo e(route('login')); ?>">
        <?php echo e(csrf_field()); ?>


        <div class="w3-row<?php echo e($errors->has('email') ? ' has-error' : ''); ?>">
            <div class="w3-col s12">
                <label for="email" class="control-label"><span class="fa fa-at fa-fw"></span> Usuario (E-mail)</label>
                <input id="email" type="email" class="w3-input w3-border w3-border-theme w3-large w3-round" name="email" placeholder="E-mail" value="<?php echo e(old('email')); ?>" required autofocus>

                <?php if($errors->has('email')): ?>
                    <span class="help-block">
                        <strong><?php echo e($errors->first('email')); ?></strong>
                    </span>
                <?php endif; ?>
            </div>
        </div>

        <div class="w3-row<?php echo e($errors->has('password') ? ' has-error' : ''); ?>">
            <div class="w3-col s12">
                <label for="password" class="control-label"><span class="fa fa-key fa-fw"></span> Contraseña</label>
                <input id="password" type="password" class="w3-input w3-border w3-border-theme w3-large w3-round" name="password" placeholder="Contraseña" required>

                <?php if($errors->has('password')): ?>
                    <span class="help-block">
                        <strong><?php echo e($errors->first('password')); ?></strong>
                    </span>
                <?php endif; ?>
            </div>
        </div>
        
        <br>
        <div class="w3-row">
            <div class="w3-col s12">
                <button type="submit" class="w3-btn w3-theme-d2 w3-block w3-round">
                    <span class="fa fa-sign-in fa-fw"></span> Entrar
                </button>
                
            </div>
        </div>
    </form>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('welcome', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>