Viewing file: b96fa2c04488157ba11d6f2ae04ad3b7e96b1750.php (6.42 KB) -rwxrwxr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title',trans('layout.registration')); ?>
<?php $__env->startSection('main-content'); ?> <div class="authincation h-100"> <div class="container h-100"> <div class="row justify-content-center h-100 align-items-center"> <div class="col-md-6"> <div class="authincation-content"> <div class="row no-gutters"> <div class="col-xl-12"> <div class="auth-form"> <h4 class="text-center mb-4"><?php echo e(trans('auth.sign_up_title')); ?></h4> <form action="<?php echo e(route('user.store')); ?>" method="post" id="signUpForm"> <?php echo csrf_field(); ?> <?php if(request()->has('type')): ?> <input type="hidden" name="type" value="<?php echo e(request()->get('type')); ?>"> <?php endif; ?> <?php if(request()->has('plan')): ?> <input type="hidden" name="plan" value="<?php echo e(request()->get('plan')); ?>"> <?php endif; ?> <?php if(request()->has('slug')): ?> <input type="hidden" name="slug" value="<?php echo e(request()->get('slug')); ?>"> <?php endif; ?>
<?php if(request()->has('restaurant')): ?> <input type="hidden" name="restaurant" value="<?php echo e(request()->get('restaurant')); ?>"> <?php endif; ?> <div class="form-group"> <label class="mb-1"><strong><?php echo e(trans('auth.name')); ?></strong></label> <input type="text" class="form-control" placeholder="<?php echo e(trans('auth.name_ex')); ?>" value="<?php echo e(old('name')); ?>" name="name"> </div> <div class="form-group"> <label class="mb-1"><strong><?php echo e(trans('auth.email')); ?></strong></label> <input type="email" class="form-control" value="<?php echo e(old('email')); ?>" placeholder="<?php echo e(trans('auth.email_ex')); ?>" name="email"> </div> <div class="form-group"> <label class="mb-1"><strong><?php echo e(trans('auth.password')); ?></strong></label> <input type="password" class="form-control" value="" placeholder="<?php echo e(trans('auth.password')); ?>" name="password"> </div> <div> <span><?php echo e(trans('auth.agreement')); ?></span> <a class="text-blue" href="#"><?php echo e(trans('auth.terms_condition')); ?></a> <?php echo e(trans('auth.and')); ?>
<a class="text-blue" href="#"><?php echo e(trans('auth.privacy_policy')); ?></a> </div> <div id="g_append">
</div>
<div class="text-center mt-4"> <button type="<?php echo e(json_decode(get_settings('site_setting')) && isset(json_decode(get_settings('site_setting'))->recaptcha_site_key)?'button':'submit'); ?>" id="submitForm" class="btn btn-primary btn-block"><?php echo e(trans('auth.sign_up_btn')); ?></button> </div>
</form>
<div class="new-account mt-3"> <p><?php echo e(trans('auth.allready_sign_in')); ?> <a class="text-primary" href="<?php echo e(route('login',['type'=>request()->get('type')])); ?>"><?php echo e(trans('auth.sign_in_attr')); ?></a> </p> </div> </div> </div> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('js'); ?>
<?php if(json_decode(get_settings('site_setting')) && isset(json_decode(get_settings('site_setting'))->recaptcha_site_key)): ?> <script src="https://www.google.com/recaptcha/api.js?render=<?php echo e(json_decode(get_settings('site_setting'))->recaptcha_site_key); ?>"></script> <script> $(document).on('click', '#submitForm', function (e) { e.preventDefault(); grecaptcha.ready(function() { grecaptcha.execute('<?php echo e(json_decode(get_settings('site_setting'))->recaptcha_site_key); ?>', {action: 'submit'}).then(function(token) { // Add your logic to submit to your backend server here. if(token){ $('#g_append').html(`<input type="hidden" name="grecaptcha_response" value="${token}">`); $('#signUpForm').submit(); } }); }); })
</script> <?php endif; ?> <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.auth', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/qr.picotech.app/public_html/resources/views/auth/registration.blade.php ENDPATH**/ ?>
|