{!!$message->message_body!!}
@if($message->files)
@foreach ($message->files as $file)
@if($file->type == 'media')
file_path)}}" --}}
src="{{route('view_candidate_files', ['path'=>$file->file_path])}}"
>
@elseif($file->type == 'file')
{{ Str::substr($file->file_name, 4, 7)}}
{{--
--}}
@elseif($file->type == 'video')
@if (Storage::disk('public')->has($file->file_path))
@else
Video can not be found
@endif
@endif
@endforeach
@endif
{{--