fix - show answers in participant view for inactive assignments
[edumed.git] / stage2 / templates / stage2 / participant.html
index 2ed6d62..e6761d2 100644 (file)
@@ -19,7 +19,7 @@
         <p><strong>{{ form.value.label }}:</strong></p>
         {{ form.value.errors }}
         <p>
-          {% if assignment.is_active %}{{ form.value }}{% else %}{{ form.value.initial }}{% endif %}
+          {% if assignment.is_active %}{{ form.value }}{% else %}{{ form.value.value }}{% endif %}
         </p>
       {% endfor %}
       {% for form, attachment in assignment.attachment_forms %}