@extends('admin.master') @section('title','Manage Post Comments') @section('body')

Comment DataTable

{{session('message')}}

@foreach($comments as $comment) @endforeach
Sl Post Title Visitor Name Comment Status Action
{{$loop->iteration}} {{$comment->post->title}} {{isset($comment->visitor->name) ? $comment->visitor->name:""}} {{$comment->comment}} {{$comment->status == 1 ? 'Published' : 'Unpublished'}}
@csrf @method('DELETE')
@endsection