@php $isEdit = isset($post) && $post; $tagsValue = old('tags', $isEdit ? implode(', ', $post->tags ?? []) : ''); $publishedValue = old( 'published_at', $isEdit ? (optional($post->published_at)->format('Y-m-d\\TH:i') ?? '') : now()->format('Y-m-d\\TH:i') ); @endphp
{{ __('Post Details') }}
{{ __('JPG, JPEG, PNG, or WEBP. Max 10MB.') }}
{{ __('Slug is auto-generated from the title.') }}
{{ $post->slug }}
{{ __('Separate tags with commas.') }}
{{ __('Content & Status') }}