@extends('layouts.admin') @section('content')
@method('PUT') @csrf
@error('title') {{ $message }} @enderror
@error('excerpt') {{ $message }} @enderror
Note: This link serves as the redirection to the article that is already published
@error('meta_link') {{ $message }} @enderror
@error('content') {{ $message }} @enderror
Comments ({{ $comments->total() }})
@if($comments->count()) @foreach ($comments as $comment)
{{ $comment->user->initials ?? 'A' }}
{{ $comment->user->name ?? 'Anonymous' }} {{ Carbon\Carbon::parse($comment->created_at)->diffForHumans() }}
{{ $comment->comment }}
{{ $comment->replies->count() }} reply
@foreach ($comment->replies->sortByDesc('created_at') as $reply)
{{ $reply->user->initials }}
{{ $reply->user->name }} @if($reply->user->role_id == 4)Author@endif {{ Carbon\Carbon::parse($reply->created_at)->diffForHumans() }}
{{ $reply->reply }}
@endforeach @endforeach
{{ $comments->withQueryString()->links() }}
@else No comments yet @endif
is_featured == 1 ? 'checked' : '') }}>
@error('author') {{ $message }} @enderror
@error('date') {{ $message }} @enderror
@error('status') {{ $message }} @enderror
@error('category_id') {{ $message }} @enderror
{{--
@error('label') {{ $message }} @enderror
--}}
@error('location') {{ $message }} @enderror
{{-- Hidden --}} @error('file') {{ $message }} @enderror
{{--
@error('file_link') {{ $message }} @enderror
--}}
Cancel Editing
@endsection @push('modals') @endpush @push('scripts') @endpush