<?php $__env->startSection('content'); ?>
    <div class="container-fluid">
        <!-- start page title -->
        <div class="d-flex justify-content-between mt-2 mb-2">
            <h2>
                localguides
            </h2>
            <ol class="breadcrumb m-0">
                
                
            </ol>
        </div>
        <!-- end page title -->

        <?php if($message = Session::get('success')): ?>
            <div class="alert alert-success">
                <p><?php echo e($message); ?></p>
            </div>
        <?php endif; ?>

        <div class="card">
            <div class="card-body">
                <!-- command bar -->
                <div class="d-flex justify-content-between">
                    <div>
                        <a class="btn btn-success mb-2" href="<?php echo e(route('localguides.create')); ?>">
                            <i class="mdi mdi-plus-thick"></i> new localguides
                        </a>
                    </div>

                </div>
                <!-- end command bar -->
                <table class="table">
                    <thead>
                        <tr class="text-center">
                            
                            <th>id</th>
                            <th>image_url</th>
                            <th>uid</th>
                            <th>display_name</th>
                            <th>name</th>
                        
                            <th>active</th>
                            <th>command</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $__empty_1 = true; $__currentLoopData = $localguides; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $localguide): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                            <tr>
                                
                                <td class="text-center">
                                    <a href="<?php echo e(route('localguides.show', $localguide->id)); ?>"><?php echo e($localguide->id); ?></a>
                                </td>
                                <td><img src="<?php echo e($localguide->image_url); ?>" , width="75">
                                    <td><?php echo e($localguide->uid); ?></td>
                                <td><?php echo e($localguide->display_name); ?></td>
                                <td><?php echo e($localguide->name); ?></td>
                                <td class="text-center"><?php echo e($localguide->active); ?></td>
                                <td class="text-center">
                                        <a href="<?php echo e(route('localguides.show', $localguide->id)); ?>" class="btn btn-primary">Show</a> <br>

                                </td>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                            <tr>
                                <td colspan="14">ไม่มีรายการให้แสดง</td>
                            </tr>
                        <?php endif; ?>
                    </tbody>
                </table>

            </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/localguides/index.blade.php ENDPATH**/ ?>