@extends('layouts.app') @section('title', 'Training Assessments') @section('content')

Training Assessments

Quizzes, exams and post-training tests

{{ request('show_deleted') ? 'Show Active' : 'Show Deleted (' . $stats['trashed'] . ')' }} New Assessment
@foreach([ ['Total', $stats['total'], 'primary'], ['Active', $stats['active'], 'success'], ['Deleted', $stats['trashed'], 'danger'], ] as [$label, $count, $color])
{{ $label }}
{{ $count }}
@endforeach
@include('training.partials.alerts')
@forelse($assessments as $a) @empty @endforelse
Title Type Topic Questions Points Passing Time Status Actions
{{ $a->assessment_title }} {{ $a->assessment_type }} {{ $a->topic?->topic_name ?? '-' }} {{ $a->questions_count }} {{ $a->total_points }} {{ $a->passing_score }}% {{ $a->time_limit_minutes ? $a->time_limit_minutes . ' min' : 'None' }} @if($a->trashed()) Deleted @else
@csrf
@endif
@if($a->trashed())
@csrf
@csrf @method('DELETE')
@else
@csrf @method('DELETE')
@endif
No assessments found
{{ $assessments->links() }}
@endsection