{{-- Shared Blog form fields. Wrapped by create.blade.php and edit.blade.php. Expects: $item (null on create), $statuses. --}} @php $publishedAt = old('published_at', $item && $item->published_at ? $item->published_at->format('Y-m-d') : ''); @endphp