Restaurants

@if ($canAdd) @endif
@if (session('success'))
Success! {{ session('success') }}
@endif
List of Restaurants
@if ($restaurants->count() == 0) @else @foreach ($restaurants as $restaurant) @endforeach @endif
Name Location Photo Created On
No Restaurants found
{{ $restaurant->name }} @if($restaurant->location != 0 && $restaurant->locations) {{ $restaurant->locations->name }}, ({{ $restaurant->locations->city->name }},{{ $restaurant->locations->city->state->name }}, {{ $restaurant->locations->city->state->country->name }}) @else No Location @endif @if ($restaurant->image_path) {{ $restaurant->name }} @endif {{ $restaurant->created_at }} @if ($canEdit) Edit @endif @if ($canDelete) Delete @endif