<!-- Modal Add clint -->
<div class="modal fade" id="addClassRoom" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1"
    aria-labelledby="addClassRoom" 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('appendix_store')); ?>"
                    class="row g-3 fv-plugins-bootstrap5 fv-plugins-framework needs-validation form-disable"
                    novalidate>
                    <?php echo csrf_field(); ?>
                    <input type="hidden" name="roomId" value="<?php if(isset($room->id)): ?><?php echo e($room->id); ?><?php endif; ?>">
                    <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('describtion')); ?>" name="description"
                                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>
                        <input type="hidden" class="videoUrlPreview" name="fileUrl">

                        <button class="btn btn-primary mt-3 show-add-image"> ارفاق ملحق</button>

                        <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/appendix/modals/new.blade.php ENDPATH**/ ?>