@if (session()->has('error'))
{!! session('error') !!}
@endif

Education Detail

@foreach($educations as $index => $edu)
Education #{{ $index + 1 }}
@if($index > 0) @endif
@if(($educations[$index]['education_level_id'] ?? null) != $phdLevelId)
@endif
@endforeach
@if ($errors->any())
{!! $errors->first() !!}
@endif