@@ -134,9 +139,13 @@
{% if detail %}
{% if question.data.type == 'multiple_choice' %}
+
{% for option in question.data.options %}
+
+
-
+
{% if option.is_correct %}
- {% endfor %}
+ {% endfor %}
+ {% if question.image.image.url %}
+

+ {% endif %}
+
+
{% elif question.data.type == 'input' %}
+
{% for option in question.data.options %}
-
@@ -162,8 +177,12 @@
{% endfor %}
-
- {% else %}
+ {% if question.image.image.url %}
+

+ {% endif %}
+
+ {% else %}
+
{% for option in question.data.options %}
{% if option.is_correct %}
@@ -172,6 +191,10 @@
{% endif %}
{% endfor %}
+ {% if question.image.image.url %}
+

+ {% endif %}
+
{% endif %}