  <!-- Modal Add clint -->
  <div class="modal fade" id="addStudent" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1"
  aria-labelledby="addStudent" aria-hidden="true">
  <div class="modal-dialog ">
      <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 id="studentForm" method="POST" action="<?php echo e(route('student_store')); ?>" class="row g-3 fv-plugins-bootstrap5 fv-plugins-framework needs-validation form-disable" novalidate>
                  <?php echo csrf_field(); ?>
                  <div class="row">
                  <div class="col-12 col-md-12 fv-plugins-icon-container">
                      <label class="form-label" for="name">الاسم</label>
                      <input type="text" id="validationCustom01" value="<?php echo e(old('name')); ?>" name="name" class="form-control text" placeholder="الرجاء ادخال الاسم" required="">
                      <p id="alert" class="massege"></p>
                      <div class="fv-plugins-message-container invalid-feedback ">
                     يرجاء ادخال الاسم
                      </div>
                      <?php $__errorArgs = ['name'];
$__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="nameCertificate">الاسم المطلوب للشهادة</label>
                    <input type="text" id="validationCustom01" value="<?php echo e(old('nameCertificate')); ?>" name="nameCertificate" class="form-control text" placeholder="الرجاء ادخال الاسم المطلوب للشهادة">
                    <p id="alert" class="massege"></p>
                    <div class="fv-plugins-message-container invalid-feedback ">
                      "الرجاء ادخال الاسم المطلوب للشهادة                    </div>
                    <?php $__errorArgs = ['nameCertificate'];
$__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>
                  <input type="hidden" value="2" name="role" required="">

                  <div class="col-12 col-md-12 fv-plugins-icon-container">
                      <label class="form-label" for="phone">رقم الهاتف او الجوال</label>
                      <input type="tel" id="phone" value="<?php echo e(old('phone')); ?>" name="phone" class="form-control" placeholder="الرجاء ادخال رقم الهاتف او  الجوال" >
                      <p id="alertPhone" class="massege"></p>
                      <div class="fv-plugins-message-container invalid-feedback ">
                      يرجاء ادخال رقم الموبايل او الهاتف
                      </div>
                      <?php $__errorArgs = ['phone'];
$__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="email">الإيميل</label>
                      <input type="text" id="email" value="<?php echo e(old('email')); ?>" name="email" class="form-control text" placeholder="الرجاء ادخال اللعنوان" required="">
                      <p id="alertemail" class="massege"></p>
                      <div class="fv-plugins-message-container invalid-feedback ">
                       يرجاء ادخال الإيميل
                      </div>
                      <?php $__errorArgs = ['email'];
$__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>


              <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 Modal Add clint -->
<?php /**PATH C:\Users\Nasser\Desktop\TrainingManagementPlatform\resources\views/students/modals/new.blade.php ENDPATH**/ ?>