@csrf @if($download->exists) @method('PUT') @endif {{-- Title --}}
{{-- Category --}}
{{-- File Upload with Limits --}}
{{-- Display file size limits --}}
Maximum file size: 100 MB
Allowed formats: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, HTML, ZIP, RAR @if(!$download->exists)
Note: ZIP files up to 100MB are supported for bulk uploads @endif
@if($download->file)

Current File: {{ $download->file }} @php $currentFileSize = Storage::disk('public')->exists('downloads/'.$download->file) ? Storage::disk('public')->size('downloads/'.$download->file) : 0; @endphp @if($currentFileSize) ({{ number_format($currentFileSize / 1048576, 2) }} MB) @endif

@endif exists ? '' : 'required' }} accept=".pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.html,.zip,.rar"> {{-- File validation feedback --}}
{{-- File Type (auto / manual) --}}
{{-- Buttons --}}
{{-- Loading Overlay --}} @push('styles') @endpush @push('scripts') @endpush