ok

Mini Shell

Direktori : /home2/selectio/www/a1tex.in/storage/framework/views/
Upload File :
Current File : /home2/selectio/www/a1tex.in/storage/framework/views/9d2061945b5a500528a818dbccef68a2980b4cc7.php

<?php $__env->startSection('title', \App\CPU\translate('OTP_verification')); ?>


<?php $__env->startSection('content'); ?>
    <div class="container py-4 py-lg-5 my-4 __inline-8">
        <div class="row justify-content-center">
            <div class="col-lg-4 col-md-6">
                <h2 class="h3 mb-4"><?php echo e(\App\CPU\translate('provide_your_otp_and_proceed')); ?>?</h2>
                <div class="card py-2 mt-4">
                    <form class="card-body needs-validation" action="<?php echo e(route('customer.auth.otp-verification')); ?>"
                          method="post">
                        <?php echo csrf_field(); ?>
                        <div class="form-group">
                            <label><?php echo e(\App\CPU\translate('Enter your OTP')); ?></label>
                            <div id="divOuter">
                                <div id="divInner">
                                    <input id="partitioned" class="form-control" name="otp" type="text" maxlength="4" />
                                </div>
                            </div>
                        </div>
                        <button class="btn btn--primary" type="submit"><?php echo e(\App\CPU\translate('proceed')); ?></button>
                    </form>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('script'); ?>
    <script>
        var obj = document.getElementById('partitioned');
        obj.addEventListener('keydown', stopCarret);
        obj.addEventListener('keyup', stopCarret);

        function stopCarret() {
            if (obj.value.length > 3){
                setCaretPosition(obj, 3);
            }
        }

        function setCaretPosition(elem, caretPos) {
            if(elem != null) {
                if(elem.createTextRange) {
                    var range = elem.createTextRange();
                    range.move('character', caretPos);
                    range.select();
                }
                else {
                    if(elem.selectionStart) {
                        elem.focus();
                        elem.setSelectionRange(caretPos, caretPos);
                    }
                    else
                        elem.focus();
                }
            }
        }
    </script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('layouts.front-end.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/selectio/public_html/myclassicfit.com/resources/views/customer-view/auth/verify-otp.blade.php ENDPATH**/ ?>

Zerion Mini Shell 1.0