@if($errors->has('materialTitle'))
{{ $errors->first('materialTitle') }}
@endif
@if($errors->has('courseId'))
{{ $errors->first('courseId') }}
@endif
@if($errors->has('materialType'))
{{ $errors->first('materialType') }}
@endif
@if($errors->has('contentURL'))
{{ $errors->first('contentURL') }}
@endif