@extends('admin.layouts.app') @section('title', $title) @section('content')
@include('admin.layouts.notifications')

{{ $title }}

@if(request('post_id') || request('user_id') || request('status')) Reset @endif
@if($comments->isEmpty()) @else @foreach($comments as $comment) @endforeach @endif
Post Comment Status User Actions
No records found.
{{ $comment->post->title }} {!! nl2br($comment->content) !!} @if($comment->status == 'approved') Approved @elseif($comment->status == 'pending') Pending @else Rejected @endif {{ $comment->user->first_name ?? '' }} {{ $comment->user->last_name ?? '' }}
@csrf @method('DELETE')
@if($comments->hasPages())
{{ $comments->links() }}
@endif
@endsection @push('scripts') @endpush