@extends('admin.layout') @section('page_title', 'Comments') @section('admin_content')

Moderation

@forelse($comments as $comment)
{{ $comment->post->title ?? 'Post' }} · {{ $comment->status }}

{{ $comment->body }}

{{ $comment->displayName() }} · {{ $comment->created_at->diffForHumans() }}
@if($comment->status !== 'approved')
@csrf
@endif @if($comment->status !== 'rejected')
@csrf
@endif
@csrf @method('DELETE')
@empty

No comments.

@endforelse
{{ $comments->links() }}
@endsection