{{-- Sort toggle --}}

Comments ({{ $this->allCommentsCount }})

@auth
@else @endauth
{{-- Comment list --}}
@foreach ($this->comments as $comment) @endforeach
{{-- Load more button --}} @if ($this->hasMore)
@endif {{-- New comment form - sticky at bottom of slide-over --}} @auth @can('create', \Relaticle\Comments\CommentsConfig::getCommentModel())
{{ $this->commentForm }} @if (!empty($attachments))
@foreach ($attachments as $index => $file)
{{ $file->getClientOriginalName() }}
@endforeach
@error('attachments.*')

{{ $message }}

@enderror

@endif
@if (\Relaticle\Comments\CommentsConfig::areAttachmentsEnabled()) @else
@endif
@endcan @endauth