<?php $__env->startSection('css'); ?>
    <link rel="stylesheet" href="<?php echo e(asset('assets/front/css/form.css')); ?>">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <div class="page-title-area">
        <div class="container">
            <div class="page-title">
                <h1><?php echo e($page_title); ?></h1>
            </div>
        </div>
    </div>


    <!-- login page content area start -->
    <section class="login-page-area">
        <div class="container">
            <?php if($basic->registration == 0): ?>
                <div class="row justify-content-center">
                    <div class="col-lg-12">
                        <div class="section-title">
                            <h2 class="title"> <?php echo e($page_title); ?> Has been Deactivated By Admin</h2>
                        </div>
                    </div>
                </div>
            <?php else: ?>
                <div class="row justify-content-center">
                    <div class="col-lg-8">
                        <div class="section-title">
                            <h2 class="title">Create An Account</h2>
                        </div>
                    </div>
                </div>

                <div class="row justify-content-center">
                    <div class="col-lg-8">
                        <div class="login-form-wrapper">
                            <form method="POST" action="<?php echo e(route('register')); ?>">
                                <?php echo csrf_field(); ?>

                                <?php if(isset($reference)): ?>
                                    <input type="hidden" name="referBy"  value="<?php echo e($reference); ?>">
                                <?php endif; ?>
                                <div class="row">
                                    <div class="col-lg-6">
                                        <div class="form-element margin-bottom-20">
                                            <input type="text" name="fname" value="<?php echo e(old('fname')); ?>"
                                                   class="input-field" placeholder="First Name">
                                            <?php if($errors->has('fname')): ?>
                                                <span class="error "><?php echo e($errors->first('fname')); ?></span>
                                            <?php endif; ?>
                                        </div>
                                    </div>

                                    <div class="col-lg-6">
                                        <div class="form-element margin-bottom-20">
                                            <input type="text" name="lname" value="<?php echo e(old('lname')); ?>"
                                                   class="input-field" placeholder="Last Name">
                                            <?php if($errors->has('lname')): ?>
                                                <span class="error "><?php echo e($errors->first('lname')); ?></span>
                                            <?php endif; ?>
                                        </div>
                                    </div>

                                    <div class="col-lg-6">
                                        <div class="form-element margin-bottom-20">
                                            <input type="text" name="username" value="<?php echo e(old('username')); ?>"
                                                   class="input-field" placeholder="Username">
                                            <?php if($errors->has('username')): ?>
                                                <span class="error"><?php echo e($errors->first('username')); ?></span>
                                            <?php endif; ?>
                                        </div>
                                    </div>
                                    <div class="col-lg-6">

                                        <div class="form-element margin-bottom-20">
                                            <input type="text" name="phone" value="<?php echo e(old('phone')); ?>"
                                                   class="input-field" placeholder="Contact Number">
                                            <?php if($errors->has('phone')): ?>
                                                <span class="error"><?php echo e($errors->first('phone')); ?></span>
                                            <?php endif; ?>
                                        </div>

                                    </div>

                                    <div class="col-lg-12">
                                        <div class="form-element margin-bottom-20">
                                            <input type="email" name="email" value="<?php echo e(old('email')); ?>"
                                                   class="input-field" placeholder="Email Address">
                                            <?php if($errors->has('email')): ?>
                                                <span class="error "><?php echo e($errors->first('email')); ?></span>
                                            <?php endif; ?>
                                        </div>
                                    </div>


                                    <div class="col-lg-6">
                                        <div class="form-element margin-bottom-20">
                                            <input type="password" name="password" class="input-field"
                                                   placeholder="Password">
                                            <?php if($errors->has('password')): ?>
                                                <span class="error "><?php echo e($errors->first('password')); ?></span>
                                            <?php endif; ?>
                                        </div>
                                    </div>
                                    <div class="col-lg-6">

                                        <div class="form-element margin-bottom-20">
                                            <input type="password" name="password_confirmation" class="input-field"
                                                   placeholder="Confirm Password">
                                        </div>
                                    </div>


                                    <div class="col-lg-12">

                                        <div class="btn-wrapper">
                                            <div class="left-content">
                                                <input type="submit" class="submit-btn" value="Regsiter">
                                            </div>
                                        </div>
                                    </div>
                                </div>

                                <div class="from-footer">
                                    <span class="ftext">Already have an account?  <a
                                            href="<?php echo e(route('login')); ?>">Sign In</a></span>
                                </div>

                            </form>
                        </div><!-- //. login form wrapper -->
                    </div>
                </div>

            <?php endif; ?>
        </div>
    </section>
    <!-- login page content area end -->

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layout', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>