<!-- 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="{{ route('appendix_store') }}"
                    class="row g-3 fv-plugins-bootstrap5 fv-plugins-framework needs-validation form-disable"
                    novalidate>
                    @csrf
                    <input type="hidden" name="roomId" value="@isset($room->id){{$room->id}}@endisset">
                    <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="{{ 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>
                            @error('name')
                                <div class="text-danger px-2 showModalAdd ">
                                    {{ $message }}
                                </div>
                            @enderror
                        </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 -->
