From 9ba232304385a2161c6380b88d1e3d140d79d418 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 9 Sep 2021 17:18:54 +0100 Subject: [PATCH] . --- .../templates/generic/questionnote_form.html | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/generic/templates/generic/questionnote_form.html b/generic/templates/generic/questionnote_form.html index a1355e23..c9ef2ae6 100755 --- a/generic/templates/generic/questionnote_form.html +++ b/generic/templates/generic/questionnote_form.html @@ -6,17 +6,22 @@ {% csrf_token %} {{ form.non_field_errors }} -{{user}} -
- {{ form.content_type.errors }} - - {{ form.content_type }} -
+{% if user %} +User: {{user}} + {% else %}
{{ form.author.errors }} {{ form.author }}
+{% endif %} + + +
+ {{ form.content_type.errors }} + + {{ form.content_type }} +
{{ form.object_id.errors }}