<?php $__env->startSection('header-php'); ?>
  <?php
  $body_id = 'page-login';
  $body_class = '';
  ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('meta-dynamic'); ?>
  <title>Login</title>  
  <meta name="description" content="Login">    
<?php $__env->stopSection(); ?>

<?php $__env->startSection('main'); ?>
<style>
.login-page, .register-page {
  background-color: #070707;
}
</style>
<div class="login-box">
  <div class="login-logo" style="margin-bottom: 10px;">
    <a href="#"><img src="<?php echo e(asset('/images/corelogo_big.png')); ?>" alt="CoreCMS" style="width:100%;" /></a>
  </div>

  <div class="login-box-body">

    <?php if(Session::has('message')): ?>
      <div class="alert <?php echo e(Session::get('alert_class')); ?>">
        <button type="button" class="close" data-dismiss="alert">&times</button>
        <?php echo e(Session::get('message')); ?>

      </div>
    <?php endif; ?>  

    <p class="login-box-msg">Sign in to start your session..</p>

    <form id="login-form" method="POST" action="<?php echo e(route('login')); ?>">
    <?php echo e(csrf_field()); ?>   
      <div class="form-group has-feedback">
        <input id="login-username" type="text" name="username" value="<?php echo e(old('username')); ?>" class="form-control" placeholder="Username">
        <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
      </div>
      <div class="form-group has-feedback">
        <input id="login-password" type="password" name="password" class="form-control" placeholder="Password">
        <span class="glyphicon glyphicon-lock form-control-feedback"></span>
      </div>

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

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

      <div class="row">
        <div class="col-xs-12">
          <input id="login-submit" type="submit" class="btn btn-primary btn-block btn-flat" value="LOGIN">
        </div>
      </div>
    </form>
    <br />

    <a href="#">I forgot my password</a><br>
    <!-- <a href="#" class="text-center">Register a new membership</a> -->    

  </div>
  <!-- /.login-box-body -->
</div>

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

<?php $__env->startSection('page-footer-scripts'); ?>
<script>
</script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.backend.login_template', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\laragon\www\coreCMS\resources\views/auth/login.blade.php ENDPATH**/ ?>