<?php $__env->startSection('content'); ?>
    <div class="container-fluid">
        <!-- start page title -->
        <div class="d-flex justify-content-between mt-2 mb-2">
            <h2>
                hashtags
            </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 -->
                
                <!-- end command bar -->
                <table class="table">
                    <thead>
                        <tr class="text-center">
                            
                            <th>id</th>
                            <th>hashtag</th>
                            <th>hashtag_category_id</th>
                            <th>description</th>

                            
                        </tr>
                    </thead>
                    <tbody>
                        <?php $__empty_1 = true; $__currentLoopData = $hashtags; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $hashtag): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                            <tr>
                                <td class="text-center"> <?php echo e($hashtag->id); ?>

                                </td>
                                <td><?php echo e($hashtag->hashtag); ?></td>
                                <td class="text-center"><?php echo e(Str::limit($hashtag->hashtagCategory->category_name, 64)); ?></td>
                                <td><?php echo e(Str::limit($hashtag->description, 64)); ?></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 /home/lebest5/public_html/resources/views/pages/hashtags/index.blade.php ENDPATH**/ ?>