@foreach($comments as $comment)
{{ ucwords($comment->user->name) }} {{ ucfirst($comment->created_at->diffForHumans()) }}
{!! ucfirst($comment->comment) !!}
@if($comment->user_id == $user->id)
@lang('app.delete')
@endif
@if(!is_null($comment->comment_file)) @foreach($comment->comment_file as $file)
  • {{ $file->filename }}
    {{ $file->created_at->diffForHumans() }}
    @if(is_null($file->external_link)) @endif
  • @endforeach @endif @endforeach