 <!-- Update Quiz Modal -->
 <div class="modal fade" id="update_quiz_modal_<?php echo e($item->id); ?>" tabindex="-1" aria-labelledby="update_quiz_modal_label"
     aria-hidden="true">
     <div class="modal-dialog modal-lg">
         <form id="sessionQuizForm_<?php echo e($item->id); ?>"
             action="<?php echo e(route('track_levels_sessions_quiz_update', ['id' => $item->id])); ?>" method="POST"
             enctype="multipart/form-data">
             <?php echo method_field('PUT'); ?>
             <?php echo csrf_field(); ?>
             <div class="modal-content">

                 <div class="modal-header">
                     <h1 class="modal-title fs-5" id="update_quiz_modal_label"><?php echo app('translator')->get('academics.update_quiz'); ?></h1>
                     <button type="button" class="close" data-dismiss="modal">&times;</button>
                 </div>
                 <div class="modal-body">
                     <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">

                     <div class="">
                         <div class="primary_input">
                             <label class="primary_input_label" for="name"><?php echo app('translator')->get('academics.title'); ?>
                             </label>
                             <input class="primary_input_field form-control" type="text" name="title"
                                 id="title" autocomplete="off" value="<?php echo e($item->title); ?>">
                         </div>
                         <div class="primary_input">
                             <label class="primary_input_label" for="name"><?php echo app('translator')->get('academics.instruction'); ?>
                             </label>
                             <input class="primary_input_field form-control" type="text" name="instruction"
                                 id="instruction" autocomplete="off" value="<?php echo e($item->instruction); ?>">
                         </div>
                         <div class="primary_input">
                             <label class="primary_input_label" for="name"><?php echo app('translator')->get('academics.min_percentage'); ?>
                             </label>
                             <input class="primary_input_field form-control" type="text" name="min_percentage"
                                 id="min_percentage" autocomplete="off" value="<?php echo e($item->min_percentage); ?>">
                         </div>
                         <div class="primary_input">
                             <label class="primary_input_label" for=""><?php echo app('translator')->get('academics.privacy'); ?></label>
                             <select class="primary_select form-control" name="privacy" id="privacy">
                                 <option value=""><?php echo app('translator')->get('common.select'); ?></option>
                                 <?php
                                     $enumValues = DB::select(
                                         "SHOW COLUMNS FROM session_quizzes WHERE Field = 'privacy'",
                                     )[0]->Type;
                                     preg_match('/^enum\((.*)\)$/', $enumValues, $matches);
                                     $privacyOptions = array_map(
                                         fn($value) => trim($value, "'"),
                                         explode(',', $matches[1]),
                                     );
                                 ?>

                                 <?php $__currentLoopData = $privacyOptions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                     <option value="<?php echo e($option); ?>"
                                         <?php echo e($item->privacy == $option ? 'selected' : ''); ?>>
                                         <?php echo e(ucfirst($option)); ?></option>
                                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                             </select>
                         </div>

                     </div>

                 </div>
                 <div class="modal-footer">

                     <button type="submit" id="sessionQuizFormBtn_<?php echo e($item->id); ?>"
                         class="primary-btn fix-gr-bg text-nowrap">
                         <?php echo app('translator')->get('common.submit'); ?>
                     </button>
                 </div>
             </div>
         </form>
     </div>
 </div>




 <style>
     .item_header {
         background: #415094;

     }

     .item_header .pull-left {
         color: #fff;
     }

     .item_header .primary-btn {
         color: #fff;

     }

     .item_header .collapge_arrow_normal {
         color: #fff;

     }
 </style>
 <?php $__env->startPush('script'); ?>
     <script></script>
 <?php $__env->stopPush(); ?>
<?php /**PATH D:\tailors-dev\upedia\resources\views/backEnd/academics/sessions/modals/update_quiz_modal.blade.php ENDPATH**/ ?>