<?php $isEdit = isset($category); ?>

<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
    <div>
        <label class="block text-sm font-medium">Category Name</label>
        <input name="name" class="w-full border rounded p-2" value="<?php echo e(old('name', $category->name ?? '')); ?>" required>
        <?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <div class="text-red-600 text-sm"><?php echo e($message); ?></div> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
    </div>

    <div class="flex items-center gap-2 mt-7">
        <input type="checkbox" name="is_active" value="1" <?php echo e(old('is_active', $category->is_active ?? true) ? 'checked' : ''); ?>>
        <label class="text-sm">Active</label>
    </div>
</div>
<?php /**PATH C:\wamp64\www\lab-result-portal\resources\views\admin\categories\_form.blade.php ENDPATH**/ ?>