<div>
    <!--[if BLOCK]><![endif]--><?php if($deletedSubjects->count() > 0): ?>
        <div class="d-none d-md-block">
            <div class="table-responsive">
                <table class="table table-striped table-sm">
                    <thead>
                        <tr>
                            <th>Name</th>
                            <th>Deleted At</th>
                            <th>Actions</th>
                        </tr>
                    </thead>
                    <tbody>
                        <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $deletedSubjects; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subject): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                <td><?php echo e($subject->name); ?></td>
                                <td><?php echo e($subject->deleted_at->format('M d, Y H:i')); ?></td>
                                <td>
                                    <button wire:click="confirmRestore(<?php echo e($subject->id); ?>)"
                                            class="btn btn-success btn-sm">
                                        <i class="fas fa-undo"></i> Restore
                                    </button>
                                </td>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]-->
                    </tbody>
                </table>
            </div>
        </div>

        <div class="d-md-none">
            <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $deletedSubjects; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subject): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="accordion mb-2" id="deleted-subject-<?php echo e($subject->id); ?>">
                    <div class="accordion-item">
                        <h2 class="accordion-header">
                            <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" 
                                    data-bs-target="#collapse-deleted-<?php echo e($subject->id); ?>">
                                <?php echo e($subject->name); ?> <small class="text-muted ms-2">(Deleted)</small>
                            </button>
                        </h2>
                        <div id="collapse-deleted-<?php echo e($subject->id); ?>" class="accordion-collapse collapse">
                            <div class="accordion-body">
                                <p><strong>Deleted At:</strong> <?php echo e($subject->deleted_at->format('M d, Y H:i')); ?></p>
                                <button wire:click="confirmRestore(<?php echo e($subject->id); ?>)"
                                        class="btn btn-success btn-sm">
                                    <i class="fas fa-undo"></i> Restore
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]-->
        </div>
    <?php else: ?>
        <p class="text-muted text-center">No deleted subjects found.</p>
    <?php endif; ?><!--[if ENDBLOCK]><![endif]-->
</div>
<?php /**PATH C:\wamp64\www\edu-p\resources\views/livewire/deleted-subjects-list.blade.php ENDPATH**/ ?>