@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
Set the content status.

Details

@if (in_array('title', $fields))
@error('title')
{{ $message }}
@enderror
@endif @if (in_array('email', $fields))
@error('email')
{{ $message }}
@enderror
@endif @if (in_array('phone_number', $fields))
@error('phone_number')
{{ $message }}
@enderror
@endif @if (in_array('course_id', $fields))
@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))
@error('link')
{{ $message }}
@enderror
@endif @if (in_array('file', $fields))
@if ($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))

Drop files here or click to upload.

{{--

Drop files here or click to upload.

--}}
@endif
@endif
Cancel