@extends('layouts.student') @section('pageTitle',$pageTitle) @section('innerTitle',$pageTitle) @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('student.dashboard')=>__lang('dashboard'), '#'=>$pageTitle ]]) @endsection @section('content')
{{ __lang('forum-page-intro') }}
@php foreach($paginator as $row): @endphp @php endforeach; @endphp
{{ __lang('course-session') }} {{ __lang('Topics') }}
{{ $row->name }} {{ \App\Course::find($row->course_id)->forumTopics->count() }} {{ __lang('View Topics') }}
@php // add at the end of the file after the table echo paginationControl( // the paginator object $paginator, // the scrolling style 'sliding', // the partial to use to render the control null, // the route to link to when a user clicks a control link route('student.forum.index') ); @endphp
@endsection