관리-도구
편집 파일: f1fdb03726b6e98268a153c5789e1d92.php
<?php $__currentLoopData = $questionList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $question): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <form action="<?php echo e(route('user.submit.quiz.answer', ['quiz_id' => $quizId, 'question_id' => $question['id'], 'type' => $question['question_type']])); ?>" id="<?php echo e($question['id']); ?>" method="POST" class="col-span-full lg:col-span-1 bg-white rounded-20 shadow-sm p-7 border border-primary-200 relative"> <!-- SINGLE QUESTION --> <span class="badge badge-info-light absolute top-0 right-0 rtl:right-auto rtl:left-0 m-1 !font-bold !text-heading"> <?php echo e(translate('Mark')); ?></span> <div class="question area-title text-lg"> <span class="mr-2"><?php echo e($key + 1); ?>.</span> <?php echo e($question['question']['name']); ?> </div> <ul class="question-options mt-6"> <?php if($question['question_type'] != 'fill-in-blank'): ?> <?php if (isset($component)) { $__componentOriginalc05d8156c55b5fd9b844a4e101a24252 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc05d8156c55b5fd9b844a4e101a24252 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'f484570d7cf557020e11ace406901b10::exam.quiz.single-multiple-question','data' => ['question' => $question,'disabled' => ''.e($disabled).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('theme::exam.quiz.single-multiple-question'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['question' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($question),'disabled' => ''.e($disabled).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc05d8156c55b5fd9b844a4e101a24252)): ?> <?php $attributes = $__attributesOriginalc05d8156c55b5fd9b844a4e101a24252; ?> <?php unset($__attributesOriginalc05d8156c55b5fd9b844a4e101a24252); ?> <?php endif; ?> <?php if (isset($__componentOriginalc05d8156c55b5fd9b844a4e101a24252)): ?> <?php $component = $__componentOriginalc05d8156c55b5fd9b844a4e101a24252; ?> <?php unset($__componentOriginalc05d8156c55b5fd9b844a4e101a24252); ?> <?php endif; ?> <?php else: ?> <?php if (isset($component)) { $__componentOriginalecd2bd1063c2dc979e68c34fe93d42c6 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalecd2bd1063c2dc979e68c34fe93d42c6 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'f484570d7cf557020e11ace406901b10::exam.quiz.fill-in-blank','data' => ['question' => $question,'disabled' => ''.e($disabled).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('theme::exam.quiz.fill-in-blank'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['question' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($question),'disabled' => ''.e($disabled).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalecd2bd1063c2dc979e68c34fe93d42c6)): ?> <?php $attributes = $__attributesOriginalecd2bd1063c2dc979e68c34fe93d42c6; ?> <?php unset($__attributesOriginalecd2bd1063c2dc979e68c34fe93d42c6); ?> <?php endif; ?> <?php if (isset($__componentOriginalecd2bd1063c2dc979e68c34fe93d42c6)): ?> <?php $component = $__componentOriginalecd2bd1063c2dc979e68c34fe93d42c6; ?> <?php unset($__componentOriginalecd2bd1063c2dc979e68c34fe93d42c6); ?> <?php endif; ?> <?php endif; ?> </ul> </form> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php /**PATH D:\www\edulab\Modules\LMS\resources\views\components\exam\quiz\question.blade.php ENDPATH**/ ?>