 


 <?php $__env->startSection('meta_title'); ?><?php echo e('myLEAP Login - AryanIct.com'); ?><?php $__env->stopSection(); ?>


 <?php $__env->startSection('title'); ?>
     <span>Sign In</span>
 <?php $__env->stopSection(); ?>


 <?php $__env->startSection('description'); ?>
     <p>
         Welcome, please login or <a href="<?php echo e(route('register.index')); ?>"> sign up </a> for a new account.
     </p>
 <?php $__env->stopSection(); ?>



 <?php $__env->startSection('content'); ?>
     <div class="row g-0 justify-content-center">

         <?php if(Session::has('success_message')): ?>
             <br>
             <p style="color:green;text-align: center"><?php echo e(Session::get('success_message')); ?></p>
             <br>
         <?php endif; ?>

        <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
        <p style="color:red;text-align: center"><?php echo e($message); ?></p>
        <br>
        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>

        
         <?php if(Session::has('error_message')): ?>
             <p style="color:red;text-align: center"><?php echo e(Session::get('error_message')); ?></p>
             <br>
         <?php endif; ?>
         <?php if(Session::has('info_message')): ?>
             <p style="color:#3182CE;text-align: center"><?php echo e(Session::get('info_message')); ?></p>
             <br>
         <?php endif; ?>

         <div class="col-sm-8 col-xl-4">
             <form class="js-validation-signin" action="<?php echo e(route('login')); ?>" method="POST" id="login_form" >
                 <?php echo csrf_field(); ?>
                 <div class="mb-4">
                     <input type="email" class="form-control form-control-lg form-control-alt py-3 <?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); ?>" id="login-username"
                         name="email" placeholder="Email">
                     
                 </div>
                 <div class="mb-4">
                     <input type="password" class="form-control form-control-lg form-control-alt py-3 <?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); ?>" id="login-password"
                         name="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]); ?>
                         <div id="login-password-error" class="invalid-feedback animated fadeIn"><?php echo e($message); ?></div>
                         <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                         
                    <i class="fas fa-eye-slash toggle-password" toggle="form-confirm"
                    style="float: right;margin-right: 10px;margin-top: -40px;position: relative;z-index: 10;"></i>
                 </div>
                 <div class="form-row">
                     <div class="form-group">
                         

                         <?php echo RecaptchaV3::field('login'); ?>

                         
                         <?php $__errorArgs = ['g-recaptcha-response'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                        <div style="color:#dc2626;font-size: .875rem;margin-top: .375rem;width:100%"><?php echo e($message); ?></div>
                         <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                         
                     </div>

                 </div>
                 <br>
                 <div class="d-flex justify-content-between align-items-center mb-4">
                     <div>
                         <a class="text-muted fs-sm fw-medium d-block d-lg-inline-block mb-1"
                             href="<?php echo e(route('password.request')); ?>">
                             Forgot Password?
                         </a>

                     </div>

                     <div>
                         <button type="submit" class="btn btn-lg btn-alt-primary">
                             <i class="fa fa-fw fa-sign-in-alt me-1 opacity-50"></i> Sign In
                         </button>
                     </div>
                 </div>


             </form>
         </div>
     </div>
 <?php $__env->stopSection(); ?>

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

         $(".toggle-password").click(function() {



             $(this).toggleClass("fa-eye fa-eye-slash");
             var input = $('#login-password');

             if (input.attr("type") == "password") {
                 input.attr("type", "text");
             } else {
                 input.attr("type", "password");
             }
         });
     </script>
 <?php $__env->stopSection(); ?>

<?php echo $__env->make('Dashboard.auth_master_page', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/leaparyanict/aict.leap.aryanict.com/resources/views/auth/login.blade.php ENDPATH**/ ?>