@php $n = $post ?? null; $enabledLocales = site_supported_locales(); $publishedValue = old('published_at', $n?->published_at?->format('Y-m-d\TH:i') ?? now()->format('Y-m-d\TH:i')); @endphp
{{ $lockedCategory->name_fa }}
@else @endif @error('commission_category_id'){{ $message }}
@enderror{{ $message }}
@enderror{{ __('admin.news_body_hint') }}
@foreach($enabledLocales as $loc) @php $existingBlocks = old("body_{$loc}", $n?->{"body_{$loc}"} ?? [['type' => 'text', 'content' => '']]); if (! is_array($existingBlocks) || $existingBlocks === []) { $existingBlocks = [['type' => 'text', 'content' => '']]; } @endphp
{{ __('admin.news_cover_hint') }}
@endcan