]> BookStack Code Mirror - bookstack/blob - resources/views/comments/comments.blade.php
Updated the design of the comments section
[bookstack] / resources / views / comments / comments.blade.php
1 <div page-comments page-id="{{ $page->id }}" class="comments-list">
2     <h5 comments-title>{{ trans_choice('entities.comment_count', count($page->comments), ['count' => count($page->comments)]) }}</h5>
3
4     <div class="comment-container" comment-container>
5         @foreach($page->comments as $comment)
6             @include('comments.comment', ['comment' => $comment])
7         @endforeach
8     </div>
9
10     @if(userCan('comment-create-all'))
11         @include('comments.create')
12     @endif
13
14 </div>