@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 !!}

@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

@php endforeach; @endphp

@php if($count > 1): @endphp @php endif; @endphp @php if($count < $totalQuestions): @endphp @php else: @endphp {{ __lang('finish') }} @php endif; @endphp
@php endforeach; @endphp
@endsection @section('footer') @endsection