From 960d443c93955a7ce65e0f52c9c452bcabb74d2a Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Tue, 13 Feb 2018 10:13:23 +0100 Subject: [PATCH] fix - show answers in participant view for inactive assignments --- stage2/templates/stage2/participant.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stage2/templates/stage2/participant.html b/stage2/templates/stage2/participant.html index 2ed6d62..e6761d2 100644 --- a/stage2/templates/stage2/participant.html +++ b/stage2/templates/stage2/participant.html @@ -19,7 +19,7 @@

{{ form.value.label }}:

{{ form.value.errors }}

- {% if assignment.is_active %}{{ form.value }}{% else %}{{ form.value.initial }}{% endif %} + {% if assignment.is_active %}{{ form.value }}{% else %}{{ form.value.value }}{% endif %}

{% endfor %} {% for form, attachment in assignment.attachment_forms %} -- 2.20.1