@foreach($comments as $child) @php $marginLeft = 50 * $child->depth; @endphp
  • {{ $child->user->name }} {{ $child->created_at }}
    {!! nl2br($child->content) !!}
    답글 @if ($child->childComments->count() > 0) 답글 {{ $child->all_children_count }}개 숨기기 @endif
    @if ($child->childComments->isEmpty() && $child->created_by == $User->id) @endif @if ($child->childComments->count()) @include('classroom.'.$service.'.feedback-comment-children-mobile', ['comments' => $child->childComments]) @endif
  • @endforeach