@section('title', 'Edit Content') @push('style') @endpush @push('script') @endpush @csrf @if (in_array('thumbnail', $fields)) Thumbnail thumbnail && Storage::disk('elegant')->exists($contents->thumbnail)) style="background-image: url({{ Storage::disk('elegant')->url($contents->thumbnail) }})" @endif> Set the profile picture. Only .png, .jpg and *.jpeg image files are accepted @error('thumbnail') {{ $message }} @enderror Thumbnail Alt Text Image Title @endif Status @if ($contents->status == 'active') @else @endif status == 'active') selected @endif>Active status == 'inactive') selected @endif>Inactive Set the content status. Details @foreach ($languages as $id => $language) {{ strtoupper($language) }} @endforeach SEO @if (in_array('title', $fields)) Title @error('title') {{ $message }} @enderror @endif @if (in_array('email', $fields)) Email @error('email') {{ $message }} @enderror @endif @if (in_array('phone_number', $fields)) Phone Number @error('phone_number') {{ $message }} @enderror @endif @if (in_array('course_id', $fields)) Course @if (isset($old['course_id']) && $old['course_id'] != '') {{ $old['course_id']->title }} @endif @endif @include('cms::admin.contents.tabEdit.editContentTab') @if (in_array('link', $fields) || in_array('file', $fields) || in_array('image-dropzone', $fields)) Media @if (in_array('link', $fields)) Link @error('link') {{ $message }} @enderror @endif @if (in_array('file', $fields)) File @if ($contents->file) {{ basename($contents->file) }} @else @endif file && Storage::disk('elegant')->exists($contents->file)) style="display:none;" @endif> @error('file') {{ $message }} @enderror @endif @if (in_array('image-dropzone', $fields)) Multi Images(700*380px) Drop files here or click to upload. {{-- Drop files here or click to upload. --}} @endif @endif Cancel Save Changes Please wait...