From 35560622dc059afd8b6b9a21b533f209e3061ad1 Mon Sep 17 00:00:00 2001 From: Mo8it Date: Sun, 26 Jun 2022 22:31:39 +0200 Subject: [PATCH] Show note description --- advlabdb/forms.py | 2 +- advlabdb/templates/assistant_group_experiment_form.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/advlabdb/forms.py b/advlabdb/forms.py index 3e81b79..4a332ab 100644 --- a/advlabdb/forms.py +++ b/advlabdb/forms.py @@ -15,7 +15,7 @@ def assistant_group_experiment_form_factory(current_user, group_experiment): "Note", default=group_experiment.note, validators=[Optional()], - description="This note is optional and can be seen and edited by admins and assistants that are responsible for this semester experiment. This note is for information related to the experiment and group. Examples: Protocol received, submission until ..., etc.", + description="The note is optional and can be seen and edited by admins and assistants that are responsible for this semester experiment. This note is for information related to the experiment and group. Examples: Protocol received, submission until ..., etc.", ) appointments = group_experiment.appointments diff --git a/advlabdb/templates/assistant_group_experiment_form.html b/advlabdb/templates/assistant_group_experiment_form.html index 2cfa113..042d746 100644 --- a/advlabdb/templates/assistant_group_experiment_form.html +++ b/advlabdb/templates/assistant_group_experiment_form.html @@ -114,6 +114,8 @@ +

{{ form.note.description }}

+