@extends('layouts.admin') @section('content')
@if(isset($user))
@endif

{{ $title ?? 'Places' }} Add

@if($places) @foreach($places as $place) @if(isset($place['tags'])) @endif @if(isset($place['image'])) @endif @endforeach @else @endif
Name Address Phone 1 Opening Closing Type Longitude Latitude Created Actions
{{ isset($place['name']) ? $place['name'] : "" }} {{ isset($place['address']) ? $place['address'] : "" }} {{ isset($place['phone']) ? $place['phone'] : "" }} {{ isset($place['opening']) ? $place['opening'] : "" }} {{ isset($place['closing']) ? $place['closing'] : "" }} {{ isset($place['type']) ? $place['type'] : "" }} {{ isset($place['location']) && isset($place['location']['coordinates']) ? $place['location']['coordinates'][0] : "" }} {{ isset($place['location']) && isset($place['location']['coordinates']) ? $place['location']['coordinates'][1] : "" }} {{ isset($place['created']) ? $place['created'] : "" }} Edit | Categories | Add Food @if (Auth::user() && Auth::user()->super) | Delete @endif
@foreach($place['tags'] as $tag) {{ $tag }} @endforeach
@foreach ($place['image'] as $image)
Place image
@endforeach
No Places
@endsection @section('scripts') @endsection