<?php $__env->startSection('pageTitle'); ?> <?php echo $__env->make('layouts.includes.title', ['moduleTitle' => __('locale.classes')], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopSection(); ?>
<?php $__env->startSection('pageBreadcrumb'); ?> <?php echo $__env->make('layouts.includes.breadcrumb', ['moduleTitle' => __('locale.classes').' '. __('locale.details') ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <div class="row __sms__datatable">
        <div class="col-lg-4">
            <div class="card card-topline-yellow">
                <div class="card-head">
                    <header><?php echo e(__('locale.add').' '.__('locale.class')); ?> </header>
                </div>
                <div class="card-body ">
                    <div class="row text-center m-t-10">
                        <div class="form-group col-lg-12">
                            <label for="father_phone" class="col-lg-12 control-label">
                                <?php echo e(__('locale.class')); ?><span class="required">*</span></label>
                            <div class="col-lg-12">
                                <input class="form-control" name="class" type="text" id="studentClass">
                                <p class="error __sms__field__error"></p>
                            </div>
                            <label for="studentClass" class="col-lg-12 control-label">
                                <?php echo e(__('locale.divisions')); ?><span class="required">*</span></label>
                            <div class="col-lg-12 __divisions__data__checkbox">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="card-footer text-right">
                    <button type="button" class="btn btn-primary m-b-10 __sms__add__class__detail mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect btn-circle" data-id="0" data-type="dialog6">Save
                    </button>
                </div>
            </div>
        </div>
        <div class="col-lg-8">
            <div class="card card-topline-yellow">
                <div class="card-head">
                    <header><?php echo e(__('locale.classes')); ?> </header>
                </div>
                <div class="card-body ">
                    <div class="table-scrollable">
                        <table id="<?php echo e($moduleName); ?>-table"
                               class="display table table-checkable order-column valign-middle __grade__table"
                               style="width: 100%">
                            <thead>
                            <tr>
                                <th width="10%"> <?php echo e(__('locale.class')); ?></th>
                                <th width="30%"> <?php echo e(__('locale.sections')); ?></th>
                                <th width="15%"> <?php echo e(__('locale.actions')); ?></th>
                            </tr>
                            </thead>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts'); ?>
    <link href="<?php echo e(asset('assets/plugins/sweet-alert/sweetalert2.min.css')); ?>" rel="stylesheet">
    <link href="<?php echo e(asset('assets/css/pages/formlayout.css')); ?>" rel="stylesheet">
    <script src="<?php echo e(asset('assets/plugins/sweet-alert/sweetalert2.all.min.js')); ?>"></script>

    <script>
        let columnsArray = [{data: 'title', name: 'title'},{data: 'sections', name: 'sections'}, {data: 'action', name: 'action'}];
        let routeUrl = "<?php echo e(route($moduleName.'.index')); ?>";
        let tableRef = "<?php echo e($moduleName.'-table'); ?>";
        // Run the Datatable
        let table = __commonDatatableListing(tableRef, routeUrl, columnsArray);
        let actionUrl = {
            '_add_edit_record': "<?php echo e(route($moduleName.'.crud', '_refSection')); ?>",
            '_edit_record': "<?php echo e(route($moduleName.'.edit', '_refSection')); ?>",
            '_destroy_record': "<?php echo e(route($moduleName.'.destroy', '_refSection')); ?>",
            '_get_division': "<?php echo e(route($moduleName.'.get_divisions')); ?>",
            '_success_msg': "<?php echo e(__('locale.grade_saved')); ?>"
        }
        getDivisions();
    </script>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/sms/app/Modules/Student/Resources/Views/class/index.blade.php ENDPATH**/ ?>