@extends('layouts.app') @section('content')

Edit Comment

Modify comment content

Back to Comments

Comment Information

Author: {{ $comment->user->name }}
Product: {{ $comment->product->name }}
Posted: {{ $comment->created_at->format('M d, Y h:i A') }}
Status: @if($comment->isPending()) Pending @elseif($comment->isApproved()) Approved @else Rejected @endif
@if($comment->moderated_at)
Moderated by: {{ $comment->moderator->name ?? 'Unknown' }} • Date: {{ $comment->moderated_at->format('M d, Y h:i A') }}
@if($comment->moderation_note)
Note: {{ $comment->moderation_note }}
@endif
@endif
@csrf @method('PUT')
@error('body')

{{ $message }}

@enderror

Edit the comment content if needed (max 1000 characters)

Cancel

Change Comment Status

@if($comment->isPending())
@csrf
@csrf
@elseif($comment->isApproved())
@csrf
@csrf
@else
@csrf
@csrf
@endif
@endsection