@if (isset($post)) {{ __('Update Post') }} @else {{ __('New Post') }} @endif
{{ __('Back to Posts') }}
@if ($errors->any()) @endif @if (session('success')) {{ session('success') }} @endif @if (isset($post))
@csrf @method('DELETE')
@method('PUT') @else @endif @csrf
{{ __('Details') }} {{ old('content', $post->content ?? '') }} {{ __('SEO') }} {{ old('meta_description', $post->meta_description ?? '') }} {{ __('Social Tags') }} Open Graph {{ old('og_description', $post->og_description ?? '') }} {{ __('Image') }} @if (isset($post) && $post->og_image)
@endif
{{ __('Status') }} @if ($post->published ?? null || (!isset($post) && $defaultStatus === 'published')) @else @endif @if (isset($post)) {{ __('Date') }} @endif {{ __('Image') }} @if (isset($post) && $post->featured_image_url)
{{ __('Delete image') }} @endif
{{ __('Categories') }} @if ($categorySelectOptions) @foreach ($categorySelectOptions as $key => $value) @if (isset($post)) @endforeach @else {{ __('You don\'t currently have any categories') }} @endif
@if (isset($post)) {{ __('Update') }} @else {{ __('Create') }} @endif
{{ __('Back to posts') }}
@push('scripts') @endpush