@php $commentType = $type ?? 'page'; $commentId = $id ?? null; $comments = $comments ?? collect(); @endphp
Discussion

Comments

@if(session('comment_success'))
{{ session('comment_success') }}
@endif
@forelse($comments as $comment)
{{ $comment->name }} {{ optional($comment->created_at)->format('M j, Y') }}

{{ $comment->message }}

@empty

No published comments yet.

@endforelse
@csrf