@csrf
@error('title') {{ $message }} @enderror
@php $thumbnail = '#'; $isThumbnail = false; @endphp @if (isset($article)) @if ($article->thumbnail) @php $thumbnail = asset($article->thumbnail->url()); $isThumbnail = true; @endphp @endif @endif thumbnail