{{ $unit->name }}
@foreach($unit->questionList as $index=>$qstn)
@if(count($unit->questionList)>0)
@php
$index++;
@endphp
@endforeach
{{ $index }}.
{!! nl2br(e($qstn)) !!}
@endif
@endforeach