        <!--  Add client -->
<div class="modal fade " id="editModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="modalEdit" 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="{{ route('lesson_update') }}" class="row g-3 fv-plugins-bootstrap5 fv-plugins-framework needs-validation lessonFormUpdate form-disable" novalidate>
                    @csrf
                    <input type="hidden" name="id" id="id">
                    <div class="col-12 col-md-12 fv-plugins-icon-container">
                        <label class="form-label" for="title">العنوان</label>
                        <input type="text" value="{{ old('title') }}" id="titleUpdate" name="title" class="form-control text" placeholder="الرجاء ادخال العنوان" required="">
                        <p id="alert" class="massege"></p>
                        <div class="fv-plugins-message-container invalid-feedback ">
                    يرجاء ادخال عنوان الدرس
                        </div>
                        @error('title')
                            <div class="text-danger px-2 showModalEdit ">
                            {{ $message }}
                            </div>
                        @enderror
                    </div>

                    <div class="col-12 col-md-12 fv-plugins-icon-container">
                        <label class="form-label" for="descriptionUpdate">الوصف</label>
                        <textarea name="description" id="descriptionUpdate" cols="30" rows="10" class="form-control" placeholder="الرجاء ادخال وصف الدرس" required="">{{old('description')}}</textarea>
                        {{-- <input type="tel" value="{{ old('description') }}" id="descriptionUpdate" name="description" class="form-control" placeholder="الرجاء ادخال رقم الهاتف او  الجوال" required=""> --}}
                        <p id="alertPhone" class="massege"></p>
                        <div class="fv-plugins-message-container invalid-feedback ">
                        يرجاء ادخال وصف الدرس
                        </div>
                        @error('description')
                            <div class="text-danger px-2 showModalEdit ">
                            {{ $message }}
                            </div>
                        @enderror
                    </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 -->
