<?php $__env->startSection('container_content'); ?>
<section class="box valign">
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-12">
                <div class="content">
                    <div class="dots wow zoomIn">
                        <span class="dot active" data-step="1_step"></span>
                        <span class="dot" data-step=""></span>
                        <span class="dot" data-step=""></span>
                        <span class="dot" data-step=""></span>
                        <span class="dot" data-step=""></span>
                        <span class="dot" data-step=""></span>
                        <span class="dot" data-step=""></span>
                        <span class="dot" data-step=""></span>
                        <span class="dot" data-step=""></span>
                    </div>
                    <h3 class="title wow fadeInUp">Registration</h3>
                    <div class="reg">
                        <form action="<?php echo e(route('user.register')); ?>" method="post" enctype="multipart/form-data" class="register_phase_form">
                            <?php echo csrf_field(); ?>
                            <div class="row">
                                <div class="alert alert-danger ajaxErrorResponse col-md-12 d-none"></div>
                                <div class="alert alert-success ajaxResponse col-md-12 d-none"></div>
                                <div class="register_phase row" id="1_step">
                                    <input type="hidden" name="register_steps[]" value="registration">
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <label for="user_name">User Name</label>
                                            <input class="required" id="user_name" type="text" name="user_name" placeholder="User name" value="<?php echo e(old('user_name')); ?>">
                                        </div>
                                        <div class="form-group">
                                            <label for="email">E-Mail</label>
                                            <input class="required" id="email" type="email" name="email" placeholder="E-Mail" value="<?php echo e(old('email')); ?>">
                                        </div>
                                    </div>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <label for="id_number">ID Number</label>
                                            <input class="required" id="id_number" type="text" name="id_number" placeholder="12012125521" value="<?php echo e(old('id_number')); ?>">
                                        </div>
                                        <div class="form-group">
                                            <label for="phone">Phone Number</label>
                                            <input class="required" id="phone" type="tel" name="phone" placeholder="055045698" value="<?php echo e(old('phone')); ?>">
                                        </div>
                                    </div>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <label for="password">Password</label>
                                            <input class="required" id="password" type="password" name="password" placeholder="*******" >
                                        </div>
                                        <div class="form-group">
                                            <label for="password_confirmation">Password Confirmation</label>
                                            <input id="password_confirmation" class="required" type="password" name="password_confirmation" placeholder="*******" >
                                        </div>
                                    </div>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <label for="birth_date">date of birth</label>
                                            <input class="required" id="birth_date" name="birth_date" type="date" placeholder="12-1-1990" value="<?php echo e(old('birth_date')); ?>">
                                        </div>
                                    </div>
                                    <div class="col-md-8"></div>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <a href="#" disabled="" data-step="2_step" class="butn wow zoomIn mt-5 gray sendButton steps_link">next</a>
                                        </div>
                                    </div>
                                </div>

                                
                                <?php echo $__env->make('web.register.2_step', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                

                                
                                <?php echo $__env->make('web.register.3_step', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                

                                
                                <?php echo $__env->make('web.register.4_step', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                

                                
                                <?php echo $__env->make('web.register.5_step', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                

                                
                                <?php echo $__env->make('web.register.6_step', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                

                                
                                <?php echo $__env->make('web.register.7_step', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                

                                
                                <?php echo $__env->make('web.register.8_step', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                

                                
                                <?php echo $__env->make('web.register.9_step', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                

                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

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


<?php $__env->startSection('container_js'); ?>
    <script src="<?php echo e(asset('assets/web/js/register_phase.js')); ?>"></script>
    <script>
        $(document).ready(function() {

            $('.sendButton').attr('disabled', true);
            let error = [];
            $('.required').keyup(function() {

                $('.required').each(function () {

                    if ($(this).val().length === 0){
                        error.push(true);
                    }
                });

                if (error.length === 0){
                    $('.sendButton').attr('disabled', false).removeClass("gray");
                } else {
                    $('.sendButton').attr('disabled', true).addClass("gray");
                }
                error = [];
            });
        });
    </script>
<?php $__env->stopSection(); ?>



<?php echo $__env->make('web.layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\wamp64\www\gam3iea\resources\views/web/register.blade.php ENDPATH**/ ?>