<?php $__env->startSection('content'); ?>
    <section class="section">
        <?php echo $__env->make('dashboard.admin.partials.banner_area', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <div class="section-body">
            <div class="row">
                <div class="col-12">
                    <div class="card">
                        <div class="card-header">
                            <h4><?= $title ?></h4>
                        </div>
                        <div class="card-body">
                            <div class="table-responsive">
                                <table class="table table-striped" id="table-1">
                                    <thead>
                                        <tr>
                                            <th>
                                                #
                                            </th>
                                            <th>Name</th>
                                            <th>Email</th>
                                            <th>Subject</th>
                                            <th>Message</th>
                                            <th>Action</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php $__currentLoopData = $contacts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $contact): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <tr>
                                                <td><?php echo e($key + 1); ?></td>
                                                <td> <a
                                                        href="<?php echo e(route('admin.contact.show', $contact->uuid)); ?>"><?php echo e($contact->name); ?></a>
                                                </td>
                                                <td>
                                                    <?php echo e($contact->email); ?>

                                                </td>
                                                <td>
                                                    <?php echo e($contact->subject); ?>

                                                </td>
                                                <td><?php echo e($contact->message); ?></td>
                                                <td>
                                                    <a onclick="return confirm('Are you sure?')"
                                                        href="<?php echo e(route('admin.contact.delete', $contact->uuid)); ?>"
                                                        class="btn btn-danger"><i class="fa fa-trash"
                                                            aria-hidden="true"></i></a>
                                                </td>
                                            </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('dashboard.admin.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\projects\logistics-v3.1\resources\views\dashboard\admin\contact\index.blade.php ENDPATH**/ ?>