

<?php $__env->startSection('content'); ?>

    <div id="wrapper" class="go-section">
        <div class="row">
            <div class="container">
                <div class="container">
                    <!-- Form Name -->
                    <h2 class="text-center marginbottom">Registration</h2>

                    <form action="<?php echo e(route('user.reg.submit')); ?>" method="post">
                        <?php echo e(csrf_field()); ?>

                        <div class="row">
                            <div class="col-md-6 col-md-offset-3">
                                <div class="form-group">
                                    <input name="name" placeholder="Full Name" class="form-control" type="text" required>
                                    <p id="nameError" class="errorMsg"></p>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-md-6 col-md-offset-3">
                                <div class="form-group">
                                    <input name="phone" placeholder="Phone Number" class="form-control"  type="text" required>
                                    <p id="nameError" class="errorMsg"></p>
                                </div>
                            </div>
                        </div>
                        <!-- Text input-->
                        <div class="row">
                            <div class="col-md-6 col-md-offset-3">
                                <div class="form-group">
                                    <input name="email" placeholder="Email" class="form-control"  type="email" required>
                                    <p id="emailError" class="errorMsg"></p>
                                </div>
                            </div>
                        </div>
                        <!-- Text input-->
                        <div class="row">
                            <div class="col-md-6 col-md-offset-3">
                                <div class="form-group">
                                    <input name="password" placeholder="Password" class="form-control"  type="password" required>
                                    <p id="passError" class="errorMsg"></p>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-6 col-md-offset-3">
                                <div class="form-group">
                                    <input name="password_confirmation" placeholder="Confirm Password" class="form-control"  type="password" required>
                                    <p id="passError" class="errorMsg"></p>
                                </div>
                            </div>
                        </div>
                        <div id="resp" class="col-md-6 col-md-offset-3">
                            <?php if($errors->has('name')): ?>
                                <span class="help-block">
                                        <strong>* <?php echo e($errors->first('name')); ?></strong>
                                    </span>
                            <?php endif; ?>
                            <?php if($errors->has('email')): ?>
                                <span class="help-block">
                                        <strong>* <?php echo e($errors->first('email')); ?></strong>
                                    </span>
                            <?php endif; ?>
                            <?php if($errors->has('password')): ?>
                                <span class="help-block">
                                    <strong>* <?php echo e($errors->first('password')); ?></strong>
                                </span>
                            <?php endif; ?>
                        </div>
                        <!-- Button -->
                        <div class="form-group">
                            <label class="col-md-5 control-label"></label>
                            <div class="col-md-2">
                                <button type="submit" id="RegButton" class="btn btn-ocean"><strong>Register</strong></button>
                            </div>
                        </div>
                        <div class="form-group login">
                            <div class="col-xs-12 col-md-6 col-md-offset-3" style="padding:0;margin-top: 10px;">
                                <a href="<?php echo e(route('user.login')); ?>" class="col-md-6 col-md-offset-3">Already Have Account? Login</a>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    </div>

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

<?php $__env->startSection('footer'); ?>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('includes.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>