@extends('admin-dining.layouts.app') @section('title', 'Restaurants') @section('page-title', 'Restaurants') @section('page-actions') Add Restaurant @endsection @section('content')
All Restaurants
@forelse($restaurants as $restaurant) @empty @endforelse
Image Title Location Cuisine Status Featured Actions
@if($restaurant->image) {{ $restaurant->title }} @else No image @endif {{ $restaurant->title }}
{{ $restaurant->category }}
{{ $restaurant->hotel ? $restaurant->hotel->location : '-' }} {{ $restaurant->cuisine ?? '-' }} @if($restaurant->status == 'published') Published @elseif($restaurant->status == 'draft') Draft @else Private @endif @if($restaurant->is_featured) @else @endif Edit
@csrf @method('DELETE')
No restaurants found. Create your first restaurant
{{ $restaurants->links() }}
@endsection