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

    <div class="content-page">
        <div class="content">

            <!-- Start Content-->
            <div class="container-fluid">

                <!-- start page title -->
                <div class="row">
                    <div class="col-12">
                        <div class="page-title-box">
                            <div class="page-title-right">
                                <ol class="breadcrumb m-0">
                                    <a href="#" class="btn btn-sm btn-dark waves-effect">
                                        <i class="mdi mdi-plus me-1"></i> All  Forms
                                    </a>
                                </ol>
                            </div>
                            <h4 class="page-title">All Registration Forms</h4>
                        </div>
                    </div>
                </div>
                <!-- end page title -->

               

                <div class="row">
                    <div class="card">
                        <div class="card-body" id="svysc_table">
                            <?php echo $__env->make('backend.registration-form.table', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        </div>
                    </div>
                </div>

            </div>
            <!-- container -->

        </div>
        <!-- content -->

     </div>

    </div>
    <!-- END wrapper -->
    <?php $__env->stopSection(); ?>
    <?php $__env->startSection('script'); ?>
        <script>

    $(document).on('click', '.page-link', function(event) {
        event.preventDefault();
        var page = $(this).attr('href').split('page=')[1];
        fetch_data(page);
     });

        function fetch_data(page) {
        var school_name = $('#school_name').val();
        var state = $('#state').val();
        var district = $('#district').val();
        var education_board = $('#education_board').val();
        var which_class = $('#which_class').val();
        var gender = $('#gender').val();
        var career_choice=$('#career_choice').val();
        var search = $('#search').val();


        $.ajax({
            beforeSend: function() {
                $('.ajax-loader').css("visibility", "visible");
            },
            url: "registration_forms?school_name="+school_name+"&state="+state +"&district="+district+"&education_board="+education_board+"&which_class="+which_class+"&gender="+gender+"&career_choice="+career_choice+"&search="+search+"&page="+page,
            success: function(data) {
                $('#svysc_table').html(data);

                        },
            complete: function() {
                $('.ajax-loader').css("visibility", "hidden");
            }
        });

        }

        function filter_data(){
            var page=$('#current_page_number').val();
            fetch_data(page);
        }
        </script>
    <?php $__env->stopSection(); ?>

<?php echo $__env->make('backend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\returnpro_laravel\resources\views/backend/registration-form/index.blade.php ENDPATH**/ ?>