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

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


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


<?php $__env->startSection('description'); ?>
    <p>
        
    </p>
<?php $__env->stopSection(); ?>



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

<div class="row g-0 justify-content-center">
    <div class="col-sm-8 col-xl-6">

        <?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; ?>
        <br>
      <form class="js-validation-reminder" action="<?php echo e(route('password.store')); ?>"  method="POST" id="email_form">
        <?php echo csrf_field(); ?>

        <input type="hidden" name="token" value="<?php echo e($request->route('token')); ?>"> 
        <input type="hidden" name="email" value="<?php echo e(old('email', $request->email)); ?>">
        
       
        <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); ?>" value="<?php echo e(old('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  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="mb-4">
            <input type="password" class="form-control form-control-lg form-control-alt py-3 <?php $__errorArgs = ['confirm'];
$__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('password_confirmation')); ?>"  name="password_confirmation" placeholder="Re-type your password">
           
  
            <?php $__errorArgs = ['password_confirmation'];
$__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); ?>

            <?php if($errors->any()): ?>
              <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
              <div  class="invalid-feedback animated fadeIn"><?php echo e($error); ?></div>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php endif; ?>
          </div>

       
        <br>
        <div class="text-center">
           
          <button type="submit" class="btn btn-lg btn-alt-primary">
            Change
          </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/auth/reset-password.blade.php ENDPATH**/ ?>