@if(! is_null($error))

{{ $error }}

@endif

Drop here or Browse files

Drop here to upload

accept)) accept="{{ $this->accept }}" @endif @if($multiple === true) multiple @endif >
@php $hasMaxFileSize = ! is_null($this->maxFileSize); $hasMimes = ! empty($this->mimes); @endphp @if($hasMaxFileSize)

{{ __('Up to :size', ['size' => \Illuminate\Support\Number::fileSize($this->maxFileSize * 1024)]) }}

@endif @if($hasMaxFileSize && $hasMimes) ยท @endif @if($hasMimes)

{{ Str::upper($this->mimes) }}

@endif
Loading...
@if(isset($files) && count($files) > 0 && false)
@foreach($files as $file)
@if($this->isImageMime($file['extension']))
{{ $file['name'] }}
@else
@endif
{{ $file['name'] }}
{{ \Illuminate\Support\Number::fileSize($file['size']) }}
@if(isset($file['downloadPrivately']) && $file['downloadPrivately']) {!! getIcon('cloud-download','fs-1 me-3') !!} @endif @if(!isset($file['readonly']) || !$file['readonly']) @if(!isset($file['uploaded']) || !$file['uploaded']) @else @if(isset($file['deleteFromParent']) && $file['deleteFromParent']) @endif @endif @endif
@endforeach
@endif
@script @endscript