@extends('layouts.admin-simple') @section('title', 'Edit News Article') @section('page-title', 'Edit News Article') @section('breadcrumb') @endsection @push('styles') @endpush @section('content')
@csrf @method('PUT')

Article Content

@error('title')
{{ $message }}
@enderror
A short description that appears in news listings @error('excerpt')
{{ $message }}
@enderror
@error('content')
{{ $message }}
@enderror
@if($news->image)
Current image

Current image

@endif Recommended size: 1200x630px (JPG, PNG, max 2MB). Leave empty to keep current image. @error('image')
{{ $message }}
@enderror
SEO Settings
@error('meta_title')
{{ $message }}
@enderror
@error('meta_description')
{{ $message }}
@enderror
Publishing Options
@error('category_id')
{{ $message }}
@enderror
Separate tags with commas @error('tags')
{{ $message }}
@enderror
Leave empty to publish immediately @error('published_at')
{{ $message }}
@enderror
is_published) ? 'checked' : '' }}>
is_featured) ? 'checked' : '' }}>
Article Info
Created:
{{ $news->created_at->format('M d, Y H:i') }}
Last Updated:
{{ $news->updated_at->format('M d, Y H:i') }}
Author:
{{ $news->author->full_name ?? 'Unknown' }}
Slug:
{{ $news->slug }}
@if($news->published_at)
Published:
{{ $news->published_at->format('M d, Y H:i') }}
@endif
@endsection @push('scripts') @endpush