{{--
 *
 * @version     2.0.$Revision:$
 * @version     SVN: $Id:$
 * @package     bplan-base/globals
 * @subpackage  Views
 * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
 * @copyright   Copyright (C) 2025 Wassilios Meletiadis <https://www.bplan-solutions.de/>
 * /Δ\
--}}

@foreach ($tabs as $tab)
    @if ($tab['active'] === false)
        @php
            continue;
        @endphp
    @endif

                <div id="{!! $tab['identifier'] !!}" {!! ($selectedTab === $tab['identifier'] ? '' : ' x-cloak') !!} x-show="selectedTab === '{!! $tab['identifier'] !!}'">

    @include('globals::livewire.core.'.$resourceNameSingular.'.form-snippets.'.$tab['view'].'-tab')

                </div>

@endforeach
