

  
<?php $__env->startSection('content'); ?>
<div class="mt-5">
    <?php if($errors->any()): ?>
        <div class="col-12">
            <!-- <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="alert alert-danger"><?php echo e($error); ?></div>
             <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> -->
         </div>
    <?php endif; ?>
    <?php if(Session()->has('error')): ?>
      <!-- <div class="alert alert-danger"><?php echo e(Session('error')); ?></div> -->
    <?php endif; ?>
    <?php if(Session()->has('success')): ?>
      <!-- <div class="alert alert-success"><?php echo e(Session('success')); ?></div> -->
    <?php endif; ?>
 </div> 
 <div class="container">
  <div class="row justify-content-center">
      <div class="col-md-4">
        <div class="card shadow-sm">
          <div class="card-body">

          <h3 class="card-title mb-4 text-center">Login</h3>
            
           <form action="<?php echo e(route('login')); ?>" method="post" >
               <?php echo csrf_field(); ?>
              <div class="mb-4">
                <label for="email" class="form-label">Email address</label>
                <input type="email" class="form-control" id="email" name="email" value="<?php echo e(old('email')); ?>" required autofocus>
              </div>
              <div class="mb-4">
                <label for="password" class="form-label">Password</label>
                <input type="password" class="form-control" id="password" name="password" required>
              </div>
             <div class="mb-4 col-md-12 logindiv">
               <p>
                 <?php echo app('translator')->get('Already User?'); ?>
                  <a href="<?php echo e(route('register')); ?>" class="golden-text"><?php echo app('translator')->get('Dont have account'); ?></a>
               </p>
              </div>
  
               <button type="submit" class="btn btn-primary">Submit</button>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.layout.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\wamp64\www\ecommerce\resources\views/auth/login.blade.php ENDPATH**/ ?>