<!-- Modifier classe========================================================= -->
<div class="modal animate__animated animate__bounce" id="modal_modifier_classe">
    <div onclick="closeForm('modal_modifier_classe')" class="modal-background"></div>
    <div class="modal-card">
        <header class="modal-card-head">
            <p class="modal-card-title">Modifier classe</p>
            <button type="button" onclick="closeForm('modal_modifier_classe')" class="delete"
                aria-label="close"></button>
        </header>
        <section class="modal-card-body">
            <div class="content">
                <form id="form_modifier_classe">
                    @csrf
                    <div class="field">
                        <label class="label title is-6" for="nv_libelle_id">Libellé</label>
                        <p class="control">
                            <input id="nv_libelle_id"
                                class="input is-info is-rounded 
                                @error('nv_libelle') is-invalid @enderror"
                                type="text" placeholder="CE1 A" name="nv_libelle" required />
                        </p>
                        <div id="errorNvLibelle" class="error erreur"></div>
                        @error('nv_libelle')
                            <div class="help is-danger error">{{ $message }}</div>
                        @enderror
                    </div>
                    <div class="field">
                        <label class="label title is-6" for="nv_type_id">Type</label>
                        <div class="control">
                            <div class="select is-info is-rounded">
                                <select id="nv_type_id" name="nv_type"
                                    class="@error('nv_type') is-invalid
                                    @enderror"
                                    required>
                                    <option id="value_type_1" value=""></option>
                                    <option id="value_type_2" value=""></option>
                                </select>
                            </div>
                        </div>
                        @error('nv_type')
                            <div class="help is-danger error">{{ $message }}</div>
                        @enderror
                    </div>
                    <button id="submit_form_modifier_classe" hidden></button>
                    <button type="reset" class="btn_reset" hidden></button>
                </form>
            </div>
        </section>
        <footer class="modal-card-foot">
            <button type="button" onclick="closeForm('modal_modifier_classe')"
                class="button is-light is-danger is-rounded">Annuler</button>
            <button onclick="$('#submit_form_modifier_classe').click()"
                class="button is-info is-link is-rounded">Modifier la
                classe</button>
        </footer>
    </div>
</div>
