@extends(getTemplate().'.layouts.app') @push('styles_top') @endpush @section('content')

{{ $quiz->title }}

{{ $quiz->webinar->title }} | {{ trans('public.by') }} {{ $quiz->creator->full_name }}

{{ $quiz->pass_mark }}/{{ $quizQuestions->sum('grade') }} {{ trans('public.min') }} {{ trans('quiz.grade') }}
{{ $attempt_count }}/{{ $quiz->attempt }} {{ trans('quiz.attempts') }}
{{ $totalQuestionsCount }} {{ trans('public.questions') }}
@if(!empty($quiz->time))
@else {{ trans('quiz.unlimited') }} @endif {{ trans('quiz.remaining_time') }}
{{ csrf_field() }} @foreach($quizQuestions as $key => $question)

{{ trans('quiz.question_grade') }} : {{ $question->grade }}

{{ $key + 1 }}/{{ $totalQuestionsCount }}
@if(!empty($question->image) or !empty($question->video))
@if(!empty($question->image)) @else @endif
@endif

{{ $question->title }}

@if($question->type === \App\Models\QuizzesQuestion::$descriptive)
@else
@foreach($question->quizzesQuestionsAnswers as $key => $answer)
@if(!$answer->image) @else @endif
@endforeach
@endif
@endforeach
@endsection @push('scripts_bottom') @endpush