

<?php $__env->startSection('content'); ?>
<div class="container">
    <div class="container-header">
        <h1><?php echo e($pageTitle); ?></h1>
    </div>

    <div class="card table-card">
        <div class="table-header">
            <div class="table-search">
                <input type="text" name="" class="search-input" placeholder="Search">
                <i class="las la-search"></i>
            </div>
        </div>
        <div class="table-responsive">
            <table class="table">
                <thead>
                    <tr>
                        <th>Sl</th>
                        <th>Name</th>
                        <th>Subject</th>
                        <th>Status</th>
                        <th>Action</th>
                    </tr>
                </thead>
                <tbody>
                    <?php $__empty_1 = true; $__currentLoopData = $userTemplates; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $userTemplate): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                    <tr>
                        <td><?php echo e($loop->iteration); ?></td>
                        <td><?php echo e($userTemplate->name); ?></td>
                        <td><?php echo e($userTemplate->subject); ?></td>
                        <td>
                            <div class="toggle-switch">
                                <input type="checkbox" id="toggle" checked <?php echo e($userTemplate->status == 1 ? 'checked' : ''); ?>>
                                <label for="toggle" class="toggle-label">
                                    <span class="toggle-text">On</span>
                                </label>
                            </div>
                        </td>
                        <td>
                            <div class="table-actions">
                                <a href="<?php echo e(route('backend.email.user-template.details', $userTemplate->id)); ?>" class="table-btn"><i class="las la-pen"></i></a>
                            </div>
                        </td>
                    </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                    <tr>
                        <td colspan="5" class="text-center">No data found</td>
                    </tr>
                    <?php endif; ?>
                </tbody>
            </table>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('backend.layout.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/namebud5/demo-nbverify.namebudget.net/core/resources/views/backend/email/user-template.blade.php ENDPATH**/ ?>