From c7e298333e210e50d5bd770c3de2e93f08bd79a8 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 21 Sep 2021 18:39:26 +0100 Subject: [PATCH] . --- .../templates/generic/questionnote_form.html | 70 ++++++++++--------- 1 file changed, 36 insertions(+), 34 deletions(-) diff --git a/generic/templates/generic/questionnote_form.html b/generic/templates/generic/questionnote_form.html index 4660c92a..30c22400 100755 --- a/generic/templates/generic/questionnote_form.html +++ b/generic/templates/generic/questionnote_form.html @@ -2,40 +2,42 @@ {% block content %} -

Add Feedback

-Adding feedback for {{question_type}} question - {{question}} -
- {% csrf_token %} -{{ form.non_field_errors }} +

Add Feedback

+ + + {% csrf_token %} + {{ form.non_field_errors }} -{% if user.is_authenticated %} -User: {{user}} -{% else %} -
- {{ form.author.errors }} - - {{ form.author }} -
-{% endif %} + {% if user.is_authenticated %} + User: {{user}} + {% else %} +
+ {{ form.author.errors }} + + {{ form.author }} +
+ {% endif %} -
- {{ form.content_type.errors }} - {{ form.content_type }} -
-
- {{ form.object_id.errors }} - {{ form.object_id }} -
-
- {{ form.note_type.errors }} - - {{ form.note_type }} -
-
- {{ form.note.errors }} -
- {{ form.note }} -
- -
+
+ {{ form.content_type.errors }} + {{ form.content_type }} +
+
+ {{ form.object_id.errors }} + {{ form.object_id }} +
+
+ {{ form.note_type.errors }} + + {{ form.note_type }} +
+
+ {{ form.note.errors }} +
+ {{ form.note }} +
+ + {% endblock %}