File Uploads
@if ($errors->any())
@foreach ($errors->all() as $error)

{{ $error }}

@endforeach
@endif
@if($isMode('all'))
@if($isImage())
List {{-- Grid--}}
@endif @if($collection == \App\Models\File::COLLECTION_IMAGE) @endif @can(\App\Models\Permission::PERM_FILE_SETTING_CREATE) Upload {{ \Illuminate\Support\Str::ucfirst(str_replace('_', ' ', $collection)) }} File @endcan Delete
@if($getFiles()->count()) @include('components.file-builder-list') @else
No {{ str_replace('_', ' ', $collection) }} file is found.
@endif @elseif ($isMode('recycle-bin')) @if($getFiles()->count())
@if($linkable()) @else @if($isImage()) @endif @if($collection == \App\Models\File::COLLECTION_IMAGE) @endif @endif @foreach($getFiles() as $key => $f) @if($linkable()) @else @if($isImage()) @endif @if($collection == \App\Models\File::COLLECTION_IMAGE) @endif @endif @endforeach
Link Name URL ValidthumbnailFile Name Size Mime TypeImage TypeKeywords Last Modified
{{ $f->original_name }} {{ $f->source }} {{ intval($f->invalid) }} {{ $f->original_name }} {{ filesize_formatted($f->size) }} {{ $f->mime_type }}{{ $f->custom_properties['image_type'] ?? 'general' }}{{ $f->keywords }} {{ $f->updated_at->diffForHumans() }}
@else
No {{ str_replace('_', ' ', $collection) }} file is found.
@endif @elseif ($isMode('edit', 'create'))
@if($isMode('edit')) @can(\App\Models\Permission::PERM_FILE_SETTING_READ) Email @endcan @can(\App\Models\Permission::PERM_FILE_SETTING_UPDATE) @endcan Download @can(\App\Models\Permission::PERM_FILE_SETTING_DELETE) @endcan @else @can(\App\Models\Permission::PERM_FILE_SETTING_CREATE) @endcan @endif {{ __('Back to List') }}
@csrf @if($file) @method('PUT') @endif
@if($collection == \App\Models\File::COLLECTION_IMAGE)
@error('custom_properties') {{ $message }} @enderror
@endif
@error('original_name') {{ $message }} @enderror

Add a comma between the Keywords (no spaces).

@error('keywords') {{ $message }} @enderror
@error('source') {{ $message }} @enderror
@if(!$linkable())
@error($getUploadNameAttr()) {{ $message }} @enderror
@endif @if($file && !$linkable())
{!! $embedCode() !!}
@endif
@if($isMode('edit')) @include('components.forms.delete-file', ['file' => $file]) @endif @endif
@push('js') @endpush @section('modal') @endsection @push('js') @endpush