@extends('layouts.student') @section('pageTitle',$pageTitle) @section('innerTitle',$pageTitle) @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('student.dashboard')=>__lang('dashboard'), route('student.test.index')=>__lang('tests'), '#'=>__lang('take-test') ]]) @endsection @section('content')
{{ __lang('total-questions') }}
{{ $totalQuestions }}
@php if(!empty($testRow->minutes)): @endphp
{{ __lang('time-allowed') }}
{{ $testRow->minutes }} {{ __lang('mins') }}
{{ __lang('time-remaining') }}
{{ $testRow->minutes }} {{ __lang('mins') }}
@php endif; @endphp
@csrf
{{ __lang('Instructions') }}
{!! $testRow->description !!}
{{ __lang('Start Test') }}
@php $count = 0; @endphp @php foreach($questions as $id => $question): @endphp @php $count++; @endphp
{{ $count }}.
{!! $question['question']->question !!}
@php foreach($question['options'] as $option): @endphp
{{ $option->option }}
@php endforeach; @endphp
@php if($count > 1): @endphp
{{ __lang('Prev') }}
@php endif; @endphp @php if($count < $totalQuestions): @endphp
{{ __lang('Next') }}
@php else: @endphp
{{ __lang('finish') }}
@php endif; @endphp
@php endforeach; @endphp
@endsection @section('footer') @endsection