From: Jan Szejko Date: Tue, 13 Feb 2018 09:13:23 +0000 (+0100) Subject: fix - show answers in participant view for inactive assignments X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/960d443c93955a7ce65e0f52c9c452bcabb74d2a?hp=b7fbbcfd919b7cf3d69da333a7e3f7c09eacd7e8 fix - show answers in participant view for inactive assignments --- 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 %}