{{ $parent->comments->where('status_id', 1)->count() }} {{ str_plural('Comment', $parent->comments->where('status_id', 1)->count()) }}
@foreach($parent->comments->where('nested_id', null)->where('status_id', 1)->sortBy('created_at') as $comment)
{{ $comment->user->name }}

{!! nl2br(e($comment->body)) !!}

@if(Auth::check()) @if($comment->user_id == Auth::id() or Auth::user()->hasRole('admin')) Edit   Delete   @endif @endif    Report

Reply to Comment
@if (Auth::guest())


You need to have an account to post a reply.
Already have an account? Login!
Register for a free account here.

@else
{{ csrf_field() }}
@endif
@if(Auth::check()) @if($comment->user_id == Auth::id() or Auth::user()->hasRole('admin')) @endif @endif
@foreach($comment->replies->where('status_id', 1)->sortBy('created_at') as $reply)
{{ $reply->user->name }}

{!! nl2br(e($reply->body)) !!}

@if(Auth::check()) @if($reply->user_id == Auth::id() or Auth::user()->hasRole('admin')) Edit   Delete   @endif @endif Report
@if(Auth::check()) @if($reply->user_id == Auth::id() or Auth::user()->hasRole('admin')) @endif @endif @endforeach
@endforeach @if($parent->comments->where('nested_id', null)->count() == 0)

Be the first to leave a comment using the form below

@endif

Leave a Comment
@if (Auth::guest())


You need to have an account to post a comment.
Already have an account? Login!
Register for a free account here.

@else
{{ csrf_field() }}
@endif