Anons79 Mini Shell

Directory : /home/aplikasiposinfo/.trash/resources.4/views/course_levels/
Upload File :
Current File : /home/aplikasiposinfo/.trash/resources.4/views/course_levels/table.blade.php

<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>
            @foreach($courseLevels as $courseLevel)
                <tr>
                    <td>{{ $courseLevel->name }}</td>
                    <td>{{ $courseLevel->desc }}</td>
                    <td  style="width: 120px">
                        <div class='btn-group'>
                            <a href="{{ route('courseLevels.show', [$courseLevel->id]) }}"
                               class='btn btn-info btn-sm'>
                                <i class="fa fa-eye"></i>
                            </a>
                            @can('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>
                                @include('course_levels.modal.edit_course_level')
                            @endcan
                            @can('courseLevels.destroy')
                            {!! Form::open(['route' => ['courseLevels.destroy', $courseLevel->id], 'method' => 'delete']) !!}
                                {!! Form::button('<i class="fa fa-trash"></i>', ['type' => 'submit', 'class' => 'btn btn-danger btn-sm', 'onclick' => "return confirm('Are you sure?')"]) !!}
                                {!! Form::close() !!}
                            @endcan
                        </div>
                    </td>
                </tr>
            @endforeach
            </tbody>
        </table>
    </div>

    <div class="card-footer clearfix">
        <div class="float-right">
            @include('adminlte-templates::common.paginate', ['records' => $courseLevels])
        </div>
    </div>
</div>

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]