diff --git a/resources/views/admin/rooms/index.blade.php b/resources/views/admin/rooms/index.blade.php index 6b425c7..9da605e 100644 --- a/resources/views/admin/rooms/index.blade.php +++ b/resources/views/admin/rooms/index.blade.php @@ -2,28 +2,15 @@ Rooms New Room
-
{{-- Unassigned Auditions --}} - - Unassigned Auditions - - - @foreach($unassignedAuditions as $audition) - - {{ $audition->entries->count() }} - - {{ $audition->name }} - - - @endforeach - - - -
{{-- Container for room cards --}}
@foreach($rooms as $room) + @if($room->id == '0') + + @push('noRoom') + @endif {{ $room->name }} @@ -45,11 +32,18 @@ + @if($room->id == '0') + @endpush + @endif @endforeach()
+ +
{{-- Unassigned Auditions --}} + @stack('noRoom') +