@extends('layouts.nova') @section('content')
@if (session('status'))
{{ session('status') }}
@endif

{{ $thread->title }}

By {{ $author->name ?? 'Unknown' }}
{{ number_format((int) ($thread->views ?? 0)) }} views {{ number_format((int) ($reply_count ?? 0)) }} replies @if ($thread->is_pinned) Pinned @endif @if ($thread->is_locked) Locked @endif
@can('moderate-forum')
@if ($thread->is_locked)
@csrf
@else
@csrf
@endif @if ($thread->is_pinned)
@csrf
@else
@csrf
@endif
@endcan
@if (isset($opPost) && $opPost) @endif
@forelse ($posts as $post) @empty
No replies yet.
@endforelse
@if (method_exists($posts, 'links'))
{{ $posts->withQueryString()->links() }}
@endif @auth @if (!$thread->is_locked)
@csrf
Minimum 2 characters
Preview (coming soon)
@error('content')

{{ $message }}

@enderror @if (!empty($quoted_post))

Replying with quote from {{ data_get($quoted_post, 'user.name', 'Anonymous') }}.

@endif

Markdown/BBCode + attachments will be enabled in next pass

@else
This thread is locked. Replies are disabled.
@endif @else
Sign in to post a reply.
@endauth
@endsection