<x-bs-generic.page :item=$item >

<main id="maincontent">
    @if( false ) {{-- dev info --}}
        <div>fillable: {{ json_encode($item->getFillable())}}</div>
        <div>guarded: {{ json_encode($item->getGuarded()) }}</div>
        <div>action="{{ $action }}"</div>
    @endif
    <div class="display-grid gap-4 grid-cols-1">
        <div class="col-12">
            <x-bs-generic.fields 
                :item=$item
            />
        </div>

        @if($item->hasBlocks())
            <x-bs-blocks.render 
                :item=$item 
                active="1" 
            />
        @endif
    </div>
</main>

</x-bs-generic.page>