Skip to content

Commit

Permalink
Added manual button and info to note form (#2349)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWatzinger committed Oct 28, 2024
1 parent c25ed8a commit 983eb30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openatlas/views/note.py
Original file line number Diff line number Diff line change
Expand Up @@ -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='<p>' + _('notes info') + '</p>' +
display_form(form, manual_page='tools/notes'),
entity=entity,
crumbs=[
[_(entity.class_.view), url_for('index', view=entity.class_.view)],
Expand Down

0 comments on commit 983eb30

Please sign in to comment.