@php $article = $article ?? null; $oldBody = old('body', $article?->body ?? ''); $oldTitle = old('title', $article?->title ?? ''); $oldSlug = old('slug', $article?->slug ?? ''); $oldExcerpt = old('excerpt', $article?->excerpt ?? ''); $oldCategory = old('category_id', $article?->category_id); $oldAuthor = old('author_id', $article?->author_id); $oldStatus = old('status', $article?->status ?? \App\Models\Article::STATUS_DRAFT); $oldScope = old('scope', $article?->scope ?? \App\Models\Article::SCOPE_LOCAL); $oldFeatured = old('featured_image_url', $article?->featured_image ? \Illuminate\Support\Facades\Storage::url($article->featured_image) : null); $oldFeaturedPath = old('featured_image_path', $article?->featured_image); $oldFeaturedAlt = old('featured_image_alt', $article?->meta_description); $oldMetaTitle = old('meta_title', $article?->meta_title); $oldMetaDesc = old('meta_description', $article?->meta_description); $oldFeatured = $oldFeatured ?: null; $isFeatured = old('is_featured', $article?->is_featured ?? false); $isBreaking = old('is_breaking', $article?->is_breaking ?? false); $oldScheduled = old('scheduled_at', $article?->scheduled_at?->format('Y-m-d\TH:i')); $oldPublished = old('published_at', $article?->published_at?->format('Y-m-d\TH:i')); @endphp
{{ $message }}
@enderror{{ $message }}
@enderror{{ $message }}
@enderrorClick or drop an image here
JPG, PNG, WebP · up to 8 MB
You can change this image at any time without re-saving the article.