@extends('layouts.admin') @section('page-title','') @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard'), '#'=>isset($pageTitle)?$pageTitle:'' ]]) @endsection @section('content')
@php foreach($paginator as $row): @endphp @section('footer') @parent @endsection @php endforeach; @endphp
{{ __lang('session-course') }} {{ __lang('title') }} {{ __lang('created-on') }} {{ __lang('created-by') }} {{ __lang('actions') }}
{{ $row->course_name }} {{ $row->title }} {{ showDate('d/m/Y',$row->created_at) }} {{ adminName($row->admin_id) }}
@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 array( 'route' => 'admin/default', 'controller'=>'homework', 'action'=>'index', ) ); @endphp
@endsection