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

 
    <main>
        <!-- Start register-pg -->
        <section class="register-pg">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-md-6 pr-0 pl-0">
                        <div class="inner center-vr">
                            <div class="form-wrapper ">
                                <div class="reg_heading text-center mb-5">
                                    <div class="img-box mb-5">
                                        <img src="<?php echo e(url('')); ?>/assets/web/images/icon.svg" alt="" class="logo"/>
                                    </div>
                                    <div class="content">
                                        <h3 class="title text-white"><b><?php echo e(__('web.code')); ?></b></h3>
                                        <p class="p mb-0 text-white-50"><?php echo e(__('web.codesend')); ?></p>
                                        <p class="p blue"><?php echo e($email); ?></p>
                                    </div>
                                </div>
                               <form method="post" action="<?php echo e(url(getCurrentLocale().'/resetpassword')); ?>">
                                        <?php echo csrf_field(); ?>
                                            <?php if(Session::has('error')): ?>
   <div class="col-12">
    <div  class="alert alert-danger">
<p style="color: black;"><?php echo e(Session::get('error')); ?></p>
</div>
</div>
<?php endif; ?><input type="hidden" name="email" value="<?php echo e($email); ?>">
                                    <div class="col-md-8 m-auto">
                                        <div class="form-group code-form-group mt-1">
                                            <div class="row justify-content-center mb-4">
                                              <input type="text" name="fourth" maxlength="1" required class="form-control code-input">
                                            <input type="text" name="third" maxlength="1" required class="form-control code-input">
                                            <input type="text" name="second" maxlength="1" required class="form-control code-input">
                                            <input type="text" name="first" maxlength="1" required class="form-control code-input">
                                            </div>
                                            <div class="content text-center">
                                                <a href="<?php echo e($url); ?>" id="resend" style="display:none" class="resend_link mb-4"><?php echo e(__('web.resend')); ?></a>
                                                <span class="timer" id="count_down"></span>
                                            </div>
                                        </div>
                                        <button class="submit-butn main-butn mt-5"><span><?php echo e(__('web.send')); ?></span></button>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6 pr-0 pl-0">
                        <img src="<?php echo e(url('')); ?>/assets/web/images/header-1.png" alt="" class="register-img"/>
                    </div>
                </div>
            </div>
        </section>
    </main>
    <?php $__env->startPush('js'); ?>
    <script>
   
    var timeleft = 60;
        var downloadTimer = setInterval(function() {
            if (timeleft <= 0) {
                clearInterval(downloadTimer);
                $('#resend').css('display','block');
                document.getElementById("count_down").innerHTML = '';
            } else {
                document.getElementById("count_down").innerHTML = ""+<?php echo json_encode(__('web.timeleft')); ?>+" " + timeleft + " "+<?php echo json_encode(__('web.second')); ?>+"  ";
            }
            timeleft -= 1;
        }, 1000);
</script>
    
    <script>
        $(".code-input").keyup(function () {
            if (this.value.length == this.maxLength) {
            $(this).next('.code-input').focus();
            }
        });
    </script>
    <?php $__env->stopPush(); ?>
    <?php $__env->stopSection(); ?>
<?php echo $__env->make('web.layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/omaralyomhost/public_html/raied/resources/views/web/pages/verify.blade.php ENDPATH**/ ?>