{{-- Left: Back button --}} {{-- Center: Title --}}

{{ $document->title }}

{{-- Right: Spacer for alignment --}}
@csrf @method('PUT') {{-- Catégorie --}}

La sélection d'une catégorie suggère automatiquement un espace (modifiable)

@error('category_id'){{ $message }}@enderror
{{-- Espace d'accès (radio buttons) --}}

Définit qui peut voir ce document

@error('space'){{ $message }}@enderror
{{-- Titre (full width) --}}
@error('title'){{ $message }}@enderror
{{-- Description (full width) --}}
@error('description'){{ $message }}@enderror
{{-- Date de publication + Visibilité (2 colonnes) --}}

Laissez vide pour publier immédiatement

@error('published_at'){{ $message }}@enderror
is_visible) ? 'checked' : '' }} class="rounded border-gray-300 text-blue-600 shadow-sm focus:ring-blue-500 dark:bg-gray-900 dark:border-gray-700">
{{-- Section informations (dates) --}}

Informations

Créé le :
{{ $document->created_at->format('d/m/Y à H:i') }}
Dernière modification :
{{ $document->updated_at->format('d/m/Y à H:i') }}
@if($document->uploader)
Uploadé par :
{{ $document->uploader->full_name }}
@endif
{{-- Boutons de soumission --}}
Annuler