

<?php $__env->startSection('title'); ?>
    عرض الأسئلة
<?php $__env->stopSection(); ?>

<?php $__env->startSection('first-css'); ?>
<?php $__env->stopSection(); ?>


<?php $__env->startSection('content-body'); ?>
    <!--**********************************
                        Content body start
                    ***********************************-->
    <?php echo $__env->make('massages', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <!-- row -->
<?php $__env->startSection('route-path'); ?>
<div class="container-fluid container-fluid-traning px-0">
    <div class="d-flex flex-wrap align-items-end justify-content-between  mb-3">
        <h2>
            عرض اسئلة
            <?php if(isset($questions[0]->exam->room->name)): ?>
            <?php echo e($questions[0]->exam->room->name); ?>

            <?php endif; ?>
            <?php if(isset($questions[0]->exam->room->course->title)): ?>
            <?php echo e($questions[0]->exam->room->course->title); ?>

            <?php endif; ?>
        </h2>
        <div class="link">
            <span class="px-4"> عرض الإختبارات</span>
            <a href="" class="px-4 ">عرض الأسئلة</a>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
    <div class="container-fluid container-fluid-traning bg-white">
        <!--**********************************Tabs Start***********************************-->
        <div class="d-flex flex-wrap align-items-start justify-content-start  mb-3">
            
            <button type="button" class="btn btn-primary  me-1 addNewQuestion" data-bs-toggle="modal" data-bs-target="#addQuestion" 
           data-exam_id ="<?php if(isset($questions[0]->exam->room->name)): ?><?php echo e($questions[0]->exam_id); ?><?php endif; ?>">
                <i class="mdi mdi-plus-circle ms-2"></i>اضافة سؤال جديد
            </button>
        </div>
        <!--**********************************Tabs End***********************************-->
        <div class="row">
            <div class="col-xl-12 tab-content">
                <?php echo $__env->make('questions.tables.all', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            </div>
        </div>
    </div>

    <!--**********************************
                        Content body end
            ***********************************-->

    <?php echo $__env->make('questions.modals.new', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php echo $__env->make('questions.modals.update', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<script src="<?php echo e(asset('/js/update/update-question.js')); ?>"></script>
<script src="<?php echo e(asset('/js/add-modal/question.js')); ?>"></script>
<script src="<?php echo e(asset('/js/exam/add-new-qution.js')); ?>"></script>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\Nasser\Desktop\TrainingManagementPlatform\resources\views/questions/list.blade.php ENDPATH**/ ?>