<?php $__env->startSection('meta_title'); ?>
    <?php echo e('Password Reset - Aryanict.com'); ?>

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


<?php $__env->startSection('title'); ?>
    <span>Forgot your password?</span>
<?php $__env->stopSection(); ?>

<?php if(!Session::has('success_message')): ?>

<?php $__env->startSection('description'); ?>
    <p>
        Enter your myLEAP email to request a password reset
    </p>
<?php $__env->stopSection(); ?>

<?php endif; ?>


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

<div class="row g-0 justify-content-center">
    <div class="col-sm-8 col-xl-4">
      <form class="js-validation-reminder" action="<?php echo e(route('password.email')); ?>"  method="POST" id="email_form">
        <?php echo csrf_field(); ?>
        <div class="mb-4">
          <?php if(!Session::has('success_message')): ?>
          <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); ?>" value="<?php echo e(old('email')); ?>" id="reminder-credential" name="email" placeholder="Email">
          <?php endif; ?>
          <?php if(Session::has('success_message')): ?>
          <div style="color:green;font-size: .875rem;margin-top: .375rem;width:100%"><?php echo e(Session::get('success_message')); ?></div>
          <?php endif; ?>

          <?php if(Session::has('error_message')): ?>
           <div style="color:#dc2626;font-size: .875rem;margin-top: .375rem;width:100%"><?php echo e(Session::get('error_message')); ?></div>
          <?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]); ?>
          <div  class="invalid-feedback animated fadeIn"><?php echo e($message); ?></div>
          <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>

        <?php if(!Session::has('success_message')): ?>

        <div class="mb-4">
          
           
            <?php echo RecaptchaV3::field('password_email'); ?>


            <?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>
        <?php endif; ?>
        <br>
        <div class="text-center">
            <a href="/" style="margin-right: 10px">Back to Login Page</a>

            <?php if(!Session::has('success_message')): ?>
          <button type="submit" class="btn btn-lg btn-alt-primary">
             Continue
          </button>
          <?php endif; ?>
          
        </div>
      </form>
    </div>
  </div>





<?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/forgot-password.blade.php ENDPATH**/ ?>