          <!--  Add client -->
        </div>
          <div class="modal fade " id="updateExam" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1"
              aria-labelledby="updateExam" aria-hidden="true">
              <div class="modal-dialog  form-validation">
                  <div class="modal-content">
                      <div class="modal-header">
                          <h4 class="modal-title"><strong>تعديل بيانات الإختبار</strong></h4>
                          <i type="reset" data-bs-dismiss="modal" aria-label="Close"
                              class="las las la-times text-danger scale5"></i>
                      </div>
                      <div class="modal-body">
                          <form method="POST" action="<?php echo e(route('exam_update')); ?>"
                              class="row g-3 fv-plugins-bootstrap5 fv-plugins-framework needs-validation trainerFormUpdate form-disable"
                              novalidate>
                              <?php echo csrf_field(); ?>
                              <input type="hidden" name="id" id="id">
                              
                              <div class="col-12 col-md-12 fv-plugins-icon-container">
                                  <label class="form-label" for="phone">البرنامج</label>
                                  <select id="courseSelect" name="roomClass" class="form-control" required>
                                      <option selected id="courseId" disabled="disabled" value="">يرجى اختيار
                                          البرنامج
                                      </option>
                                      <?php if(isset($rooms)): ?>
                                          <?php $__currentLoopData = $rooms; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $room): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                              <option value="<?php echo e($room->id); ?>">
                                                  <?php if(isset($room->name)): ?>
                                                  <?php echo e($room->name); ?> 
                                                  برنامج
                                                  <?php echo e($room->course->title); ?>

                                                  <?php endif; ?>
                                              </option>
                                          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                      <?php endif; ?>
                                  </select>
                                  <p id="alertPhone" class="massege"></p>
                                  <div class="fv-plugins-message-container invalid-feedback ">
                                      يرجى تحديد البرنامج
                                  </div>
                                  <?php $__errorArgs = ['courseId'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                      <div class="text-danger px-2 showModalAdd ">
                                          <?php echo e($message); ?>

                                      </div>
                                  <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                              </div>


                              <div class="col-12 col-md-12 fv-plugins-icon-container">
                                  <label class="form-label" for="typeExams">المشرف</label>
                                  <select id="typeSelect" name="typeExams" class="form-control" required>
                                      <option selected id="typeExams" disabled="disabled" value="">يرجى اختيار
                                          النوع
                                      </option>
                                              <option value="0">قبلي </option>
                                              <option value="1">بعدي </option>
                                              <option value="2">اجتياز </option>
                                          
                                  </select>
                                    <p id="alertPhone" class="massege"></p>
                                  <div class="fv-plugins-message-container invalid-feedback ">
                                      يرجى تحديد نوع الاختبار
                                  </div>
                                  <?php $__errorArgs = ['trainerId'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                      <div class="text-danger px-2 showModalAdd ">
                                          <?php echo e($message); ?>

                                      </div>
                                  <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                              </div>
                              <div class="col-12 col-md-4">
                                <label class="form-label fw-bold" for="expireTime"> وقت وتاريخ إنتهاء الإحتبار</label>
                                <input type="datetime-local" id="expireTime " value="" name="expireTime" class="form-control text quation-tilte" placeholder="الرجاء تحديد الوقت" required="" >
                                <?php $__errorArgs = ['expireTime'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <div class="text-danger px-2 showModalAdd ">
                                  <?php echo e($message); ?>

                                </div>
                              <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                              <div class="modal-footer">
                                  <button type="submit"
                                      class="btn btn-primary me-sm-3 me-1 form-btn-disable">تعديل</button>
                                  <button type="reset" class="btn btn-label-secondary" data-bs-dismiss="modal"
                                      aria-label="Close">الغاء</button>
                              </div>
                          </form>
                      </div>
                  </div>
              </div>
          </div>
          <!-- End Add client -->
<?php /**PATH C:\Users\Nasser\Desktop\TrainingManagementPlatform\resources\views/exams/modals/update.blade.php ENDPATH**/ ?>