@if(isset($item->children)) @if(!isset($labelled))
Start {{ $item->itemLabel ?? ucwords(str_replace('-', ' ', $item->containerWidth ?? 'Container')) }}
@endif @foreach($item->children as $child) @include("template::partials.editor.".strtolower($child->type), ["item" => $child]) @endforeach
End {{ $item->itemLabel ?? ucwords(str_replace('-', ' ', $item->containerWidth ?? 'Container')) }}
@php $labelled = true; @endphp @endif