<?php $__env->startSection('title', 'Manage ' . $panel); ?>
<?php $__env->startSection('content'); ?>
    <?php echo $__env->make('backend.includes.breadcrumb', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <!-- Main content -->
    <section class="content">

        <!-- Default box -->
        <div class="card">
            <div class="card-header">
                <h3 class="card-title"><?php echo e($panel); ?> <?php echo e($action); ?> <a href="<?php echo e(route($base_route . '.create')); ?>" class="btn btn-info">  <i class="fa fa-plus"></i> Create <?php echo e($panel); ?></a></h3>
            </div>
            <div class="card-body">
                <?php echo $__env->make('backend.includes.flash_messge', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <div class="table table-responsive">
                    <table class="table table-bordered" id="table">
                        <thead>
                        <th>S.N</th>
                        <th>Name</th>
                        <th>Email</th>
                        <th>Role</th>
                        <th>Actions</th>
                        </thead>
                        <tbody>
                        <?php $__currentLoopData = $data['rows']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index=> $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($index+1); ?></td>
                            <td><?php echo e($row->name); ?></td>
                            <td><?php echo e($row->email); ?></td>
                            <td><?php echo e(ucfirst($row->role)); ?></td>
                            <td>
                                <a href="<?php echo e(route($base_route . '.edit', $row->id)); ?>" class="btn btn-info"><i class="fa fa-pen"></i></a>
                                
                                
                            </td>

                        </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </tbody>
                    </table>
                </div>
            </div>
            <!-- /.card-body -->
            <div class="card-footer">

            </div>
            <!-- /.card-footer-->
        </div>
        <!-- /.card -->

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

<?php echo $__env->make('layouts.backend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/canvascollegeedu/public_html/resources/views/backend/user/index.blade.php ENDPATH**/ ?>