@extends('layouts.admin') @section('content') @can('test_create')
{{ trans('global.add') }} {{ trans('cruds.test.title_singular') }}
@endcan
{{ trans('cruds.test.title_singular') }} {{ trans('global.list') }}
@foreach($tests as $key => $test) @endforeach
{{ trans('cruds.test.fields.id') }} {{ trans('cruds.test.fields.course') }} {{ trans('cruds.test.fields.lesson') }} {{ trans('cruds.test.fields.title') }} {{ trans('cruds.test.fields.description') }} {{ trans('cruds.test.fields.is_published') }}  
{{ $test->id ?? '' }} {{ $test->course->title ?? '' }} {{ $test->lesson->title ?? '' }} {{ $test->title ?? '' }} {{ $test->description ?? '' }} {{ $test->is_published ?? '' }} is_published ? 'checked' : '' }}> @can('test_show') {{ trans('global.view') }} @endcan @can('test_edit') {{ trans('global.edit') }} @endcan @can('test_delete')
@endcan
@endsection @section('scripts') @parent @endsection