<div class="card-body p-0">
<div class="table-responsive">
<table class="table table-hover table-bordered table-striped default" id="course-levels-table">
<thead>
<tr>
<th>Name</th>
<th>Desc</th>
<th colspan="3">Action</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $courseLevels; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $courseLevel): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($courseLevel->name); ?></td>
<td><?php echo e($courseLevel->desc); ?></td>
<td style="width: 120px">
<div class='btn-group'>
<a href="<?php echo e(route('courseLevels.show', [$courseLevel->id])); ?>"
class='btn btn-info btn-sm'>
<i class="fa fa-eye"></i>
</a>
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('courseLevels.edit')): ?>
<a href="javascript:void(0)" data-target="#editCourseLevel" data-toggle="modal"
class='btn btn-warning btn-sm'>
<i class="fa fa-edit"></i>
</a>
<?php echo $__env->make('course_levels.modal.edit_course_level', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endif; ?>
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('courseLevels.destroy')): ?>
<?php echo Form::open(['route' => ['courseLevels.destroy', $courseLevel->id], 'method' => 'delete']); ?>
<?php echo Form::button('<i class="fa fa-trash"></i>', ['type' => 'submit', 'class' => 'btn btn-danger btn-sm', 'onclick' => "return confirm('Are you sure?')"]); ?>
<?php echo Form::close(); ?>
<?php endif; ?>
</div>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
<div class="card-footer clearfix">
<div class="float-right">
<?php echo $__env->make('adminlte-templates::common.paginate', ['records' => $courseLevels], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
</div>
</div>
<?php /**PATH C:\laragon\www\web_mudahcoding_2024\resources\views/course_levels/table.blade.php ENDPATH**/ ?>
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]