{{-- Sort toggle --}}

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

@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 (\Relaticle\Comments\CommentsConfig::areAttachmentsEnabled())
@if (!empty($attachments))
@foreach ($attachments as $index => $file)
{{ $file->getClientOriginalName() }}
@endforeach
@endif @error('attachments.*')

{{ $message }}

@enderror @endif
@endcan @endauth