
<?php $__env->startSection('content'); ?>
<section class="hero py-5">
    <div class="container-fluid" style="max-width:1030px">
        <div class="row d-flex justify-content-center gy-5 gx-sm-0">
            <div class="col-lg-6 d-flex justify-content-center">
                <form style="max-width: 20.75rem; width:100%;" action="<?php echo e(route('register')); ?>" method="post">
                                    <?php if($errors->any()): ?>
                    <div class="credential-error">
                        <ul>
                            <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <li><?php echo e($error); ?></li>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </ul>
                    </div>
                <?php endif; ?>
                    <?php echo csrf_field(); ?>
                    <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="text-danger mb-3"><?php echo e($message); ?></div><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                    <div>
                        <h2 class="fw-light mb-4 text-center text-md-start">
                            Create Account
                        </h2>
                        <p>Create an account to save your trips and access them anytime</p>
                        <p>Login Details</p>
                        <p>Your account details will be used to login to your ViewTrip account</p>

                        <input type="email" class="form-control custom-input mb-4" name="email" value="<?php echo e(old('email')); ?>" required placeholder="Email Address">
                        <input type="password" name="password" class="form-control custom-input mb-3" required placeholder="Password">
                        <input type="password" name="password_confirmation" class="form-control custom-input mb-3" required placeholder="Repeat Password">
                        <h2 class="fw-light mb-4 text-center text-md-start">
                            Personal Details 
                        </h2>
                        <input type="text" name="first_name"
                               value="<?php echo e(old('first_name')); ?>"
                               placeholder="First Name" required class="form-control custom-input mb-4">
                        <input type="text" name="last_name"
                               value="<?php echo e(old('last_name')); ?>"
                               placeholder="Last Name" required class="form-control custom-input mb-4">
                        <div class="d-flex justify-content-between mb-4 small">
                            <label><input type="checkbox" name="" required> By selecting this box you agree to our <a class="text-white" style="text-decoration: underline;" href="#">Terms Of Use</a> and <a class="text-white" style="text-decoration: underline;" href="#">Privacy Policy</a>.</label>
                        </div>

                        <button type="submit" class="btn btn-green w-100 py-2 mb-3" style="background-color: #c9e49e;">SIGN UP</button>
                        <p>Already registered?<a href="<?php echo e(route('login')); ?>" class="w-100 py-2 text-info"> LOGIN</a></p>
                    </div>
                </form>
            </div>
        </div>
    </div>
</section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('frontend.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH D:\xampp\htdocs\view-trip-update2\resources\views/credentials/register.blade.php ENDPATH**/ ?>