{{-- Layout --}} @extends('teacher.layout.layout') {{-- Page Title --}} @section('title','GAS LMS | Question Category') {{-- Breadcrumb section --}} @section('breadcrumb') @include('components._breadcrumb', ['items' => ['Question category' => route('teacher.questioncategory.index',$cid)]]) @endsection {{-- Content --}} @section('content')
Question Category There are {{$question_categories->count()}} question categories
{{-- --}} @php $count=0; @endphp @foreach ($question_categories as $category) {{-- --}} @endforeach
id cateory namecourse nameActions
{{++$count}} {{$category->category_name}}{{$category->course->cname.' ( '.$category->course->level->lshort_name.' )'}}
@if (null !== $category->children) View subcategories @endif
@endsection