<!-- Modal Add clint -->
<div class="modal fade" id="addCourse" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1"
aria-labelledby="addCourse" 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="courseForm" method="POST" action="<?php echo e(route('course_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="title">عنوان البرنامج</label>
                    <input type="text" id="validationCustom01" value="<?php echo e(old('title')); ?>" name="title" class="form-control text" placeholder="الرجاء ادخال عنوان البرنامج" required="">
                    <p id="alert" class="massege"></p>
                    <div class="fv-plugins-message-container invalid-feedback ">
                    يرجاء ادخال عنوان البرنامج
                    </div>
                    <?php $__errorArgs = ['title'];
$__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="description">وصف البرنامج</label>
                    <textarea name="description" id="description" cols="30" rows="10" class="form-control" placeholder="الرجاء ادخال وصف البرنامج" required="">
                        <?php echo e(old('description')); ?>

                    </textarea>
                    
                    <p id="alertPhone" class="massege"></p>
                    <div class="fv-plugins-message-container invalid-feedback ">
                    يرجاء ادخال وصف البرنامج
                    </div>
                    <?php $__errorArgs = ['description'];
$__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="hours_number">عدد الساعات</label>
                    <input type="number" id="hours_number" value="<?php echo e(old('hours_number')); ?>" name="hours_number" class="form-control text" placeholder="الرجاء ادخال عدد الساعات" required="">
                    <p id="alerthours_number" class="massege"></p>
                    <div class="fv-plugins-message-container invalid-feedback ">
                    يرجاء ادخال عدد الساعات
                    </div>
                    <?php $__errorArgs = ['hours_number'];
$__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/courses/modals/new.blade.php ENDPATH**/ ?>