@extends("backend.layouts.app") @section("title") {{ __($module_action) }} {{ __($module_title) }} @endsection @section("breadcrumbs") {{ __($module_title) }} {{ __($module_action) }} @endsection @section("content") {{ __($module_title) }} {{ __($module_action) }} Edit

{{ $blog->title }}

@if($blog->featured_image) {{ $blog->title }} @endif
{{ $blog->category->name ?? 'Uncategorized' }} @if($blog->status == 'published') Published @elseif($blog->status == 'draft') Draft @else Archived @endif
Author: {{ $blog->user ? $blog->user->name : 'Unknown' }} | Published: @if($blog->published_at) {{ $blog->published_at->format('M d, Y') }} @else Not published @endif
{!! $blog->content !!}
Post Information
ID {{ $blog->id }}
Author {{ $blog->user ? $blog->user->name : 'Unknown' }}
Status {{ ucfirst($blog->status) }}
Category {{ $blog->category->name ?? 'Uncategorized' }}
Created At {{ $blog->created_at->format('M d, Y h:i A') }}
Updated At {{ $blog->updated_at->format('M d, Y h:i A') }}
Published At @if($blog->published_at) {{ $blog->published_at->format('M d, Y h:i A') }} @else Not published @endif
Back to List
Edit
@csrf @method('DELETE')
@endsection @push('after-scripts') @endpush