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

    <div class="md:col-span-2">
        <label class="text-sm font-medium">Answer</label>
        <textarea name="answer" rows="5" class="w-full mt-1 rounded border-gray-300" required><?php echo e(old('answer', $faq->answer ?? '')); ?></textarea>
        <?php $__errorArgs = ['answer'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <p class="text-xs text-red-600 mt-1"><?php echo e($message); ?></p> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
    </div>

    <div>
        <label class="text-sm font-medium">Sort order</label>
        <input type="number" min="0" name="sort_order" value="<?php echo e(old('sort_order', $faq->sort_order ?? 0)); ?>" class="w-full mt-1 rounded border-gray-300">
        <?php $__errorArgs = ['sort_order'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <p class="text-xs text-red-600 mt-1"><?php echo e($message); ?></p> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
    </div>

    <div>
        <label class="inline-flex items-center gap-2 mt-7 text-sm">
            <input type="checkbox" name="is_active" value="1" <?php echo e(old('is_active', $faq->is_active ?? true) ? 'checked' : ''); ?>>
            Active
        </label>
    </div>
</div>
<?php /**PATH C:\xampp\htdocs\gps-migration\resources\views\admin\faqs\_form.blade.php ENDPATH**/ ?>