From 983eb305746191c4220f2595f4a6b478c1aba749 Mon Sep 17 00:00:00 2001 From: Alexander Watzinger Date: Mon, 28 Oct 2024 15:56:14 +0100 Subject: [PATCH] Added manual button and info to note form (#2349) --- openatlas/views/note.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openatlas/views/note.py b/openatlas/views/note.py index e35367c7f..93a0543c8 100644 --- a/openatlas/views/note.py +++ b/openatlas/views/note.py @@ -82,7 +82,8 @@ def note_insert(entity_id: int) -> str | Response: return redirect(f"{url_for('view', id_=entity.id)}#tab-note") return render_template( 'content.html', - content=display_form(form), + content='

' + _('notes info') + '

' + + display_form(form, manual_page='tools/notes'), entity=entity, crumbs=[ [_(entity.class_.view), url_for('index', view=entity.class_.view)],