div class="mb-3">
                <label for="note-text" class="form-label">Text</label>
                <textarea class="form-control" id="note-text" name="note-text">{{ note_text or '' }}</textarea>
                {% if error|bitwise_and(2) == 2 %}
                <small class="text-danger">
                    Provide a note text.
                </small>
                {% endif %}
            </div>
            <p><a data-bs-toggle="collapse" href="#advancedOptions" role="button" aria-expanded="false"