<?php $__env->startSection('content'); ?>   
 	 <p/>
    	<!-- Content Header (Page header) -->
    <div class="gb ut">
  <div class="uv">
    <form role="form" action="LoginMe" method="POST" class="alq dj j">

      <div class="l amb">
	      <h3> Login </h3>
      </div>

      <!--  To Check user is login or not -->
      <?php if(Auth::check()): ?>
          redirect("dashboard");;
      <?php endif; ?>

      <?php if(count($errors)>0): ?>
        <div class="alert alert-danger">
          <ul>
            <?php foreach($errors->all() as $error): ?>
              <li> <strong><font color="red"> <?php echo e($error); ?> </font> </strong></li>
            <?php endforeach; ?>
          </ul>
        </div>
        <?php endif; ?>
        <br/>
        <?php if(Session::has('success')): ?>
          <font color="green"> <?php echo e(Session::get('success')); ?> </font>
        <?php endif; ?>

        <?php if(Session::has('error')): ?>
          <font color="red"> <?php echo e(Session::get('error')); ?> </font>
        <?php endif; ?>



      <div class="et">
        <input class="form-control" id="Username" name="Username" placeholder="Username">
      </div>
      <div class="et alu">
        <input type="password" id="Password" name="Password" class="form-control" placeholder="Password">
      </div>
      <input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>">
      <div class="amb">
        <input type="submit" value="Log In" class="cg fp"></input>
      </div>
        <div class="amb">
          Forget Password ?<a href="Forget-Password" > Click Here </a>
      </div>
    </form>
  </div>
</div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.login', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>