File: /home/bdedition/public_html/core/storage/framework/views/a530c9940b335bc3325b82a8c1b4795f.php
<div class="mb-3">
<label class="form-label"><?php echo app('translator')->get('Verification Code'); ?></label>
<div class="verification-code">
<input type="text" name="code" id="verification-code" class="form-control overflow-hidden" required autocomplete="off">
<div class="boxes">
<span>-</span>
<span>-</span>
<span>-</span>
<span>-</span>
<span>-</span>
<span>-</span>
</div>
</div>
</div>
<?php $__env->startPush('style'); ?>
<link rel="stylesheet" href="<?php echo e(asset('assets/global/css/verification-code.css')); ?>">
<?php $__env->stopPush(); ?>
<?php $__env->startPush('script'); ?>
<script>
$('#verification-code').on('input', function () {
$(this).val(function(i, val){
if (val.length == 6) {
$('.submit-form').find('button[type=submit]').html('<i class="las la-spinner fa-spin"></i>');
$('.submit-form').submit()
}
if(val.length > 6){
return val.substring(0, val.length - 1);
}
return val;
});
for (let index = $(this).val().length; index >= 0 ; index--) {
$($('.boxes span')[index]).html('');
}
});
</script>
<?php $__env->stopPush(); ?>
<?php /**PATH /home/bdedition/public_html/core/resources/views/staff/partials/verification_code.blade.php ENDPATH**/ ?>