@extends('layouts.app') @section('mobile-title', 'Delete Folder') @section('mobile-subtitle', $folder->name) @section('mobile-back', route('documents.folders.show', $folder)) @section('content')

Delete Folder

Review the contents of {{ $folder->name }} before deleting.

Permanently deletes this folder, its subfolders, all documents, previous file versions, and shared links. This cannot be undone.
Subfolders
{{ $summary['subfolders'] }}
Documents
{{ $summary['documents'] }}
Previous file versions
{{ $summary['versions'] }}
Shared links
{{ $summary['shares'] }}

Counts include archived documents and subfolders.

@if ($summary['legal_holds'])
Deletion is blocked: {{ $summary['legal_holds'] }} document(s) are on legal hold. Release their legal holds before deleting this folder.
@endif
@csrf @method('DELETE')
{{ $folder->name }}
@error('confirmation')

{{ $message }}

@enderror
Cancel
@endsection