@if(count($roomTypes))
    @foreach($roomTypes as $roomType)
        <li class="nav-item room_type_li room_items_container" role="presentation">
            <button data-room-type="{{$roomType->id}}" class="nav-link {{$loop->iteration == 1 ? 'active' : ''}} room_type_button" id="pills-roomTab{{$loop->iteration}}-tab" data-bs-toggle="pill" data-bs-target="#pills-roomTab{{$loop->iteration}}" type="button" role="tab" aria-controls="pills-roomTab{{$loop->iteration}}" aria-selected="true">{{$roomType->name}}</button>
        </li>
    @endforeach

    @else
    <div style="background-color: #cd9b39" class="alert text-center">{{__('roomTypes.no_data')}}</div>

@endif
