@extends("admin/layout") @section("content")
Premium Demo

List comment

@if($comments->isEmpty())
There are no comments
@else @foreach($comments as $comment) @endforeach
User name Email Comment text Comment date
{{ $comment->user->username }} {{ $comment->user->email }} {{ $comment->comment_text }} {{ date('d-m-Y', strtotime($comment->comment_date)) }}
@foreach ($comments->getUrlRange(1, $comments->lastPage()) as $page => $url) {{ $page }} @endforeach
Page {{ $comments->currentPage() }} of {{ $comments->lastPage() }}
@endif
@endsection