@extends('layouts.admin') @section('content') {{ $pub_details->title }} Home Blog Listing Edit @method('PUT') @csrf Blog Title * @error('title') {{ $message }} @enderror Excerpt {{ $pub_details->excerpt }} @error('excerpt') {{ $message }} @enderror Redirection Link Only Note: This link serves as the redirection to the article that is already published @error('meta_link') {{ $message }} @enderror Content {!! $pub_details->content !!} @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() }} Delete {{ $comment->comment }} {{ $comment->replies->count() }} reply 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() }} Edit Reply Delete {{ $reply->reply }} @endforeach @endforeach {{ $comments->withQueryString()->links() }} @else No comments yet @endif is_featured == 1 ? 'checked' : '') }}> Is this article featured? Author @error('author') {{ $message }} @enderror Set Specific Date @error('date') {{ $message }} @enderror Blog Status * status == "1" ? 'selected' : '' }} value="1">For Review status == "0" ? 'selected' : ''}} value="0">Approved @error('status') {{ $message }} @enderror Blog Category * @forelse($pub_cats as $key => $value) id == $pub_details->category->id ? 'selected' : '' }} value="{{ $value->id }}">{{ $value->name }} @empty Empty Data @endforelse @error('category_id') {{ $message }} @enderror {{-- Label @error('label') {{ $message }} @enderror --}} Location @error('location') {{ $message }} @enderror Blog Thumbnail {{-- Hidden --}} @error('file') {{ $message }} @enderror {{-- File Link @error('file_link') {{ $message }} @enderror --}} Cancel Editing Publish Changes @endsection @push('modals')
Are you sure you want to delete your reply?
Are you sure you want to delete this comment?