<?php if (isset($component)) { $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54 = $attributes; } ?>
<?php $component = App\View\Components\AppLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('app-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\AppLayout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
     <?php $__env->slot('header', null, []); ?> 
        <h2 class="font-semibold text-xl text-gray-800 leading-tight">
            <?php echo e(__('Student Details')); ?>

        </h2>
     <?php $__env->endSlot(); ?>

    <div class="py-12">
        <div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
            <div class="bg-white overflow-hidden shadow-xl sm:rounded-lg p-6 mb-6">
                <dl class="grid grid-cols-1 gap-x-4 gap-y-6 sm:grid-cols-2">
                    <div>
                        <dt class="text-sm font-medium text-gray-500"><?php echo e(__('Name')); ?></dt>
                        <dd class="mt-1 text-sm text-gray-900 font-medium"><?php echo e($student->name); ?></dd>
                    </div>

                    <div>
                        <dt class="text-sm font-medium text-gray-500"><?php echo e(__('Student ID')); ?></dt>
                        <dd class="mt-1 text-sm text-gray-900 font-medium"><?php echo e($student->student_id); ?></dd>
                    </div>

                    <div>
                        <dt class="text-sm font-medium text-gray-500"><?php echo e(__('Email')); ?></dt>
                        <dd class="mt-1 text-sm text-gray-900"><?php echo e($student->email ?? '-'); ?></dd>
                    </div>

                    <div>
                        <dt class="text-sm font-medium text-gray-500"><?php echo e(__('School')); ?></dt>
                        <dd class="mt-1 text-sm text-gray-900">
                            <a href="<?php echo e(route('schools.show', $student->school)); ?>"
                                class="text-blue-600 hover:text-blue-900">
                                <?php echo e($student->school->name); ?>

                            </a>
                        </dd>
                    </div>

                    <div class="sm:col-span-2">
                        <dt class="text-sm font-medium text-gray-500"><?php echo e(__('Biometric Template')); ?></dt>
                        <dd class="mt-1 text-sm text-gray-900 font-mono bg-gray-50 p-3 rounded break-all">
                            <?php echo e($student->biometric_template ?? '(Not set)'); ?>

                        </dd>
                    </div>

                    <div>
                        <dt class="text-sm font-medium text-gray-500"><?php echo e(__('Created')); ?></dt>
                        <dd class="mt-1 text-sm text-gray-900"><?php echo e($student->created_at->format('M d, Y h:i A')); ?></dd>
                    </div>

                    <div>
                        <dt class="text-sm font-medium text-gray-500"><?php echo e(__('Last Updated')); ?></dt>
                        <dd class="mt-1 text-sm text-gray-900"><?php echo e($student->updated_at->format('M d, Y h:i A')); ?></dd>
                    </div>
                </dl>
            </div>

            <div class="flex gap-4">
                <a href="<?php echo e(route('students.edit', $student)); ?>"
                    class="inline-flex items-center px-6 py-3 bg-indigo-600 text-white font-semibold rounded-lg hover:bg-indigo-700 transition">
                    <?php echo e(__('Edit')); ?>

                </a>
                <a href="<?php echo e(route('students.index')); ?>"
                    class="inline-flex items-center px-6 py-3 bg-gray-500 text-white font-semibold rounded-lg hover:bg-gray-600 transition">
                    <?php echo e(__('Back to Students')); ?>

                </a>
                <form action="<?php echo e(route('students.destroy', $student)); ?>" method="POST" class="inline"
                    onsubmit="return confirm('Are you sure you want to delete this student?');">
                    <?php echo csrf_field(); ?>
                    <?php echo method_field('DELETE'); ?>
                    <button type="submit"
                        class="inline-flex items-center px-6 py-3 bg-red-600 text-white font-semibold rounded-lg hover:bg-red-700 transition">
                        <?php echo e(__('Delete')); ?>

                    </button>
                </form>
            </div>
        </div>
    </div>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?>
<?php $attributes = $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54; ?>
<?php unset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?>
<?php $component = $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54; ?>
<?php unset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54); ?>
<?php endif; ?>
<?php /**PATH C:\Users\Default.DESKTOP-9NUSAIE\Documents\PROJECTS\studentattendance\attendance\resources\views/students/show.blade.php ENDPATH**/ ?>