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

<div class="content-wrapper d-flex align-items-center justify-content-center auth theme-one" style="background-image: url(<?php echo e(url('assets/images/auth/login_1.jpg')); ?>); background-size: cover;">
  <div class="row w-100">
    <div class="col-lg-4 mx-auto">
      <div class="auto-form-wrapper">
        <h2 class="center">Acesse sua conta</h2>
        <?php if(session('status')): ?>
          <div class="alert alert-success">
              <?php echo e(session('status')); ?>

          </div>
        <?php endif; ?>
        <?php if($errors->any()): ?>
        <div class="alert alert-danger">
            
            <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
              <span>
                <?php echo e($error); ?> 
                <?php if(Str::contains($error, 'senha expirou')): ?>
                  <a href="<?php echo e(route('password.request')); ?>"> Clique aqui para redefinir a senha</a>
                <?php endif; ?>
              </span>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            
        </div><br />
        <?php endif; ?>
        <form method="POST" action="<?php echo e(url('admin/login')); ?>">
          <?php echo e(csrf_field()); ?>

          <div class="form-group">
            <label class="label">Usuário</label>
            <div class="input-group">
              <input type="text" name="email" value="<?php echo e(old('email')); ?>"  autofocus class="form-control validate" placeholder="Usuário">
              <div class="input-group-append">
                <span class="input-group-text">
                  <i class="mdi mdi-check-circle-outline"></i>
                </span>
              </div>
            </div>
          </div>
          <div class="form-group">
            <label class="label">Senha</label>
            <div class="input-group">
              <input type="password"  name="password" value="<?php echo e(old('password')); ?>" class="validate form-control" placeholder="*********">
              <div class="input-group-append">
                <span class="input-group-text">
                  <i class="mdi mdi-check-circle-outline"></i>
                </span>
              </div>
            </div>
          </div>
          <div id="html_element"></div>
          <?php $__errorArgs = ['recaptcha'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
              <span><?php echo e($message); ?></span>
              <br />
          <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
          <br />
          <!-- Google Recaptcha -->
          
          <input type="hidden" name="recaptcha" id="recaptcha" value="">
          <div class="form-group">
            <button class="btn btn-primary submit-btn btn-block">Login</button>
          </div>
          <div class="form-group d-flex justify-content-between">
            <div class="form-check form-check-flat mt-0">
              <label class="form-check-label">
                <!-- <input type="checkbox" class="form-check-input" checked> Keep me signed in </label> -->
            </div>
            <a href="<?php echo e(url('admin/password/reset')); ?>" class="text-small forgot-password text-black">Esqueceu a senha?</a>
          </div>
         
        </form>
      </div>

      <p class="footer-text text-center">copyright © 2020 Cappen.com All rights reserved.</p>
    </div>
  </div>
</div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layout.master-mini', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/sitetemp.apoiocotacoes.com.br/apoio/resources/views/auth/login.blade.php ENDPATH**/ ?>