

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

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


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


<?php $__env->startSection('description'); ?>
    <p>
        Please check your given email the OTP has been sent in order
        to verify your account!
    </p>
<?php $__env->stopSection(); ?>


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

<div class="row g-0 justify-content-center">
    <div class="col-sm-8 col-xl-4">
      <form  action="<?php echo e(route('verify.email.verfication')); ?>"  method="POST" >
        <?php echo csrf_field(); ?>
        <div class="mb-4">
          <input type="text" class="form-control form-control-lg form-control-alt py-3 <?php $__errorArgs = ['verify'];
$__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('verify')); ?>" name="verify" placeholder="Enter OTP here">
          <input type="hidden" name="email" value="<?php echo e(session()->get('user_data.email')); ?>">
          <?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 = ['verify'];
$__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>

        <div class="text-center">
            <a  href="<?php echo e(route('change.email.verification')); ?>" style="margin-right: 10px"> Change Email</a>

          <button type="submit" class="btn btn-lg btn-alt-primary">
            <i class="fa fa-fw fa-envelope me-1 opacity-50"></i> Verify Now
          </button>
          
        </div>
      </form>
    </div>
  </div>




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

<?php $__env->startSection('script'); ?>
<script>
    $(function() {
        $('#email_form').submit(function(event) {
            var verified = grecaptcha.getResponse();
            if (verified.length === 0) {
                event.preventDefault();
            }
        });
    });
</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/Dashboard/User/verify.blade.php ENDPATH**/ ?>