@php if (isset($approved) and $approved == true) { $comments = $model->approvedComments; } else { $comments = $model->comments; } @endphp
@if($comments->count() < 1)
{{ clean(trans('cynoebook::comments.there_are_no_comments_for_this_ebook')) }}
@endif @isset ($perPage) {{ $grouped_comments->links() }} @endisset
@auth @include('comments::_form') @elseif(Config::get('comments.guest_commenting') == true) @include('comments::_form', [ 'guest_commenting' => true ]) @else
{{ clean(trans('cynoebook::comments.you_must_log_in_to_post_a_comment')) }}
{{ clean(trans('cynoebook::comments.log_in')) }}
@endauth