MINI Sh3ll
<?php $__env->startSection('title', 'Login'); ?>
<?php $__env->startSection('content'); ?>
<!-- begin:: Page -->
<!-- Start login -->
<div class="m-login__signin">
<div class="m-login__head">
<h3 class="m-login__title">
<?php if(isset($title)): ?>
<?php echo e($title); ?>
<?php else: ?>
Sign In With OTP
<?php endif; ?>
</h3>
</div>
<form class="m-login__form m-form" action="<?php echo e(route('submit-phone-number')); ?>" method="POST"
id="loginWithOtp" data-parsley-validate="">
<?php echo csrf_field(); ?>
<?php if(isset($error)): ?>
<div class="alert-msg alert alert-danger" role="alert">
<?php echo e($error); ?>
</div>
<?php endif; ?>
<div class="form-group m-form__group">
<label for="phone">
Enter Phone number
</label>
<!--value="<?php if(isset($mobile)): ?><?php echo e($mobile); ?><?php endif; ?>"-->
<input class="form-control m-input" type="text" placeholder="Phone Number" name="phone" id="mobile" autocomplete="off"
placeholder = 'xxxxxxxx'
required = 'required'
data-parsley-required = 'true'
data-parsley-required-message = 'Contact number is required'
data-parsley-type = 'digits'
data-parsley-type-message = 'Contact number should be in digits'
data-parsley-minlength = '10'
data-parsley-maxlength = '10'
data-parsley-trigger = 'change focusout'>
<input type="hidden" name="message_type" value="SignInWithOtp">
</div>
<div class="row m-login__form-sub">
<div class="col m--align-left">
<a href="<?php echo e(url('/login')); ?>" id="m_login_forget_password" class="m-link">
Back to Login
</a>
</div>
<div class="col m--align-right">
<button id="m_login_phone_submit" class="btn btn-focus m-btn m-btn--pill m-btn--custom m-btn--air">
Send OTP
</button>
</div>
</div>
</form>
</div>
<!-- End OTP Form -->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('js'); ?>
<script>
$(document).ready(function() {
$('#loginWithOtp').parsley();
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('auth.master', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
OHA YOOOO