                  {% csrf_token %}
                                    {{ invalidform.invalidreasons }}
                                </form>
                            </div>
                            <div class="modal-footer">
                                <button type="button" id="invalid-button" class="ok-btn" data-bs-dismiss="modal">OK</button>
                                <button type="button" class="cancel-btn" data-bs-dismiss="modal">CANCEL</button>
                            </div