<?php $__env->startSection('content'); ?>
    <div class="container-fluid">
        <!-- start page title -->
        <div class="d-flex justify-content-between mt-2 mb-2">
            <h2>
                <?php echo e($place->name); ?>

            </h2>
            <ol class="breadcrumb m-0">
                
                
            </ol>
        </div>
        <!-- end page title -->

        <div class="card">
            <div class="card-body">
                <div class="row">
                    <div class="col-md-8">
                        <div class="row mb-2">
                            <div class="col-md-2">id</div>
                            <div class="col-md-10"><?php echo e($place->id); ?></div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-md-2"><b>name</b></div>
                            <div class="col-md-10"><b><?php echo e($place->name); ?></b></div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-md-2">address</div>
                            <div class="col-md-10"><?php echo e($place->address); ?></div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-md-2">description</div>
                            <div class="col-md-10"><?php echo e($place->description); ?></div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-md-2">image_url</div>
                            <div class="col-md-10"><?php echo e($place->image_url); ?></div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-md-2">google_place_id</div>
                            <div class="col-md-10"><?php echo e($place->google_place_id); ?></div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-md-2">google_url</div>
                            <div class="col-md-10">
                                <a href="<?php echo e($place->google_url); ?>">
                                    <?php echo e($place->google_url); ?>

                                </a>
                            </div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-md-2">province_id</div>
                            <div class="col-md-10"><?php echo e($place->province_id); ?>

                                <?php if($place->provinces): ?>
                                    - <?php echo e($place->provinces->name_th); ?>

                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-md-2">latitude</div>
                            <div class="col-md-10"><?php echo e($place->latitude); ?></div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-md-2">longitude</div>
                            <div class="col-md-10"><?php echo e($place->longitude); ?></div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-md-2">types</div>
                            <div class="col-md-10"><?php echo e($place->types); ?></div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-md-2">rating</div>
                            <div class="col-md-10"><?php echo e($place->rating); ?></div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-md-2">is_trending</div>
                            <div class="col-md-10"><?php echo e($place->is_trending); ?></div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-md-2">active</div>
                            <div class="col-md-10"><?php echo e($place->active); ?></div>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <img src="<?php echo e($place->image_url); ?>" , width="100%">
                    </div>
                </div>


                <form action="<?php echo e(route('places.destroy', $place->id)); ?>" method="POST">
                     <?php echo csrf_field(); ?>
                    <?php echo method_field('DELETE'); ?>
                    <div class="d-flex bd-highlight mb-3">
                        <div class="me-auto bd-highlight"><a href="<?php echo e(route('places.index', $place->id)); ?>" class="btn btn-secondary me-2">Back</a></div>
                        <div class="bd-highlight me-2"><a href="<?php echo e(route('places.edit', $place->id)); ?>" class="btn btn-info">Edit</a></div>
                        <div class="bd-highlight"><button type="submit" class="btn btn-danger">Delete</button></div>
                    </div>
                </form>
            </div>
        </div>
        <!-- end table -->
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.base', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\xampp\htdocs\newgenventure\resources\views/pages/places/show.blade.php ENDPATH**/ ?>