<?php $__env->startSection('title','Login Page'); ?>

<?php $__env->startSection('page-styles'); ?>
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('css/pages/authentication.css')); ?>">
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<!-- login page start -->
<section id="auth-login" class="row d-flex align-items-center justify-content-center">
  <div class="col-xl-4 col-md-8 col-11">
      <div class="row m-0">
        <!-- right section image -->
        <div class="col-md-12 text-center align-self-center p-3">
          <div class="card-content">
            <img class="img-fluid" src="<?php echo e(asset('images/pages/garuda.png')); ?>" alt="branding logo" style="max-width:200px">
          </div>
        </div>
      </div>
    <?php if(session()->has('notification')): ?>
    <div class="card bg-authentication mb-2">
      <div class="row m-0">
        <div class="col-lg-12 col-12 p-0">
          <div class="alert alert-success alert-dismissible mb-0" role="alert">
          <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span>
          </button>
          <div class="d-flex align-items-center">
            <i class="bx bx-like"></i>
            <span>
              <?php echo session('notification'); ?>

            </span>
          </div>
          </div>
        </div>
      </div>
    </div>
    <?php endif; ?>
    
    <div class="card bg-authentication mb-5">
      <div class="row m-0">
        <!-- left section-login -->
        <div class="col-12 px-0">
          <div class="card disable-rounded-right mb-0 p-2 h-100 d-flex justify-content-center">
            <div class="card-header pb-1">
              <div class="card-title">
                <h2 class="text-center">E-Kelurahan Wagom</h2>
                <p class="text-center mb-2">Selamat datang kembali</p>
              </div>
            </div>
            <div class="card-content">
              <div class="card-body">
                
                <form method="POST" action="<?php echo e(route('login')); ?>">
                  <?php echo csrf_field(); ?>
                  <div class="form-group mb-50">
                    <label class="text-bold-600" for="email">Alamat Email</label>
                    <input id="email" type="email" class="form-control <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="email" value="<?php echo e(old('email')); ?>"  autocomplete="email" autofocus placeholder="Email">
                    <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                      <span class="invalid-feedback" role="alert">
                        <strong><?php echo e($message); ?></strong>
                      </span>
                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                  </div>
                  <div class="form-group">
                    <label class="text-bold-600" for="password">Password</label>
                    <input id="password" type="password" class="form-control <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="password"  autocomplete="current-password" placeholder="Password">
                    <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                      <span class="invalid-feedback" role="alert">
                        <strong><?php echo e($message); ?></strong>
                      </span>
                     <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                  </div>
                  <div class="form-group d-flex flex-md-row flex-column justify-content-between align-items-center">
                    <div class="text-left">
                      <div class="checkbox checkbox-sm">
                        <input class="form-check-input" type="checkbox" name="remember" id="remember" <?php echo e(old('remember') ? 'checked' : ''); ?>>
                        <label class="form-check-label" for="remember">
                          <small>Ingat saya</small>
                        </label>
                      </div>
                    </div>
                    <div class="text-right">
                      <a href="<?php echo e(route('password.request')); ?>" class="card-link"><small>Lupa Password?</small></a>
                    </div>
                  </div>
                  <button type="submit" class="btn btn-danger glow w-100 position-relative">Login
                    <i id="icon-arrow" class="bx bx-right-arrow-alt"></i>
                  </button>
                </form>
                <hr>
                <div class="text-center">
                  <small class="mr-25">Tidak punya akun?</small>
                  <a href="<?php echo e(route('register')); ?>"><small>Daftar disini</small></a>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!-- right section image -->
        <!--<div class="col-md-6 d-md-block d-none text-center align-self-center p-3">-->
        <!--  <div class="card-content">-->
        <!--    <img class="img-fluid" src="<?php echo e(asset('images/pages/garuda.png')); ?>" alt="branding logo" style="max-width:80%">-->
        <!--  </div>-->
        <!--</div>-->
      </div>
    </div>
  </div>
</section>
<!-- login page ends -->
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.fullLayoutMaster', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/mac/laravel-projects/wagom/resources/views//auth/login.blade.php ENDPATH**/ ?>