@extends('layouts.adminpanel') @section('title') Admin Panel - Rooms @endsection @section('admin_content')
@if ($rooms->count() > 0)
All rooms: ({{ $rooms->count() }})
@foreach ($rooms as $room) @endforeach
ID Name Capacity Arrangement Creation date
{{ $room->id }} {{ $room->name }} {{ $room->capacity }} {{ $room->arrangement}} {{ $room->room_id}} Delete
@else

No rooms yet.

@endif
@endsection