@extends('admin.layouts.app') @section('content')
@can('topic-create') Add Topic @endcan
@forelse ($topics as $key=>$topic) @empty @endforelse
# Course Title Thumbnail Image Video Is Active Action
{{($key+1) + ($topics->currentPage() - 1)*$topics->perPage()}} {{$topic->course->name}} {{$topic->title}} @if($topic->video_url) @else @endif @if($topic->status) Active @else Inactive @endif @can('topic-edit') @endcan @can('topic-delete') @endcan
@method('DELETE') @csrf

Nothing Found

Showing {{($topics->currentpage()-1)*$topics->perpage()+1}} to {{(($topics->currentpage()-1)*$topics->perpage())+$topics->count()}} of {{$topics->total()}} Topics

{!! $topics->appends(['search_course_id'=>$search_course_id,'search_key'=>$search_key])->links() !!}
@endsection