summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/question.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html
index e67a260..3bdabd1 100644
--- a/yaksh/templates/yaksh/question.html
+++ b/yaksh/templates/yaksh/question.html
@@ -256,6 +256,9 @@ question_type = "{{ question.type }}"
{% endif %}
{% if question.type == "arrange" %}
+ {% if last_attempt %}
+ {% get_arrange_user_answer last_attempt question as test_cases %}
+ {% endif %}
<input name="answer" type="hidden" id='arrange_order'/>
<div class="list-group">
<ol class="arrange">