@if(!$add && !$update)Categorie @else Inserimento/modifica categoria @endif

@if(!$add && !$update) Indietro
@endif
@if(!$add && !$update)
@foreach($records as $record) @if(count($record->childs)) @include('livewire/category_child',['records' => $record->childs, 'indentation' => 1]) @endif @endforeach
Nome ...
{{$record->name}}
@else
@if (session()->has('error')) @endif
@if($parent != '')

Aggiungi livello a {{$parent}}

@endif
@error('name')
{{ $message }}
@enderror
@if($add) @endif @if($update) @endif
@endif