isOffice(), 404); $this->organization = $organization; $this->document = $document; $this->name = $document->name; $this->editorConfig = $configBuilder->build($document, auth()->user(), editable: $this->edit); } public function rename(): void { $validated = $this->validate(['name' => 'required|string|max:255']); $this->document->update($validated); $this->renaming = false; } }; ?>

{{ $organization->name }}

@if ($renaming)
@error('name')

{{ $message }}

@enderror
@else @endif
@unless ($edit) Modifier @else Modification en cours @endunless Retour
@once @endonce