{{ $project->name }}: {{ __('Edit document') }}

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT')
@foreach ($top_documents as $top_document) @if ($document->parent_id == $top_document->id) @else @endif @if (count($top_document->childs)) @include('documents.optionChildSelected', [ 'childs' => $top_document->childs, 'parent_id' => $document->parent_id, 'level' => 1, ]) @endif @endforeach