summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authormahesh2018-02-09 15:43:44 +0530
committermaheshgudi2018-03-16 15:15:50 +0530
commit07be6be0e805e17e45290b0e8137c044b2094edc (patch)
tree2dd1b2214be3c7ccc1bc82bdb2b2cb9cf1109ff4 /yaksh/templates
parentd4c79e599bfee207790632a71848d383fae7bd25 (diff)
downloadonline_test-07be6be0e805e17e45290b0e8137c044b2094edc.tar.gz
online_test-07be6be0e805e17e45290b0e8137c044b2094edc.tar.bz2
online_test-07be6be0e805e17e45290b0e8137c044b2094edc.zip
Change custom filter function to get_answer_for_arrange_options
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/grade_user.html2
-rw-r--r--yaksh/templates/yaksh/question.html2
-rw-r--r--yaksh/templates/yaksh/user_data.html2
-rw-r--r--yaksh/templates/yaksh/view_answerpaper.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/yaksh/templates/yaksh/grade_user.html b/yaksh/templates/yaksh/grade_user.html
index 09887c4..8430e91 100644
--- a/yaksh/templates/yaksh/grade_user.html
+++ b/yaksh/templates/yaksh/grade_user.html
@@ -318,7 +318,7 @@ Status : <b style="color: red;"> Failed </b><br/>
{% elif question.type == "arrange"%}
<div class="well well-sm">
- {% get_arrange_user_answer ans.answer.answer question as tc_list %}
+ {% get_answer_for_arrange_options ans.answer.answer question as tc_list %}
{% for testcases in tc_list %}
<li>{{ testcases.options.strip|safe }}</li>
{% endfor %}
diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html
index 3bdabd1..b65073a 100644
--- a/yaksh/templates/yaksh/question.html
+++ b/yaksh/templates/yaksh/question.html
@@ -257,7 +257,7 @@ question_type = "{{ question.type }}"
{% if question.type == "arrange" %}
{% if last_attempt %}
- {% get_arrange_user_answer last_attempt question as test_cases %}
+ {% get_answer_for_arrange_options last_attempt question as test_cases %}
{% endif %}
<input name="answer" type="hidden" id='arrange_order'/>
<div class="list-group">
diff --git a/yaksh/templates/yaksh/user_data.html b/yaksh/templates/yaksh/user_data.html
index fe3f2a6..9449fcc 100644
--- a/yaksh/templates/yaksh/user_data.html
+++ b/yaksh/templates/yaksh/user_data.html
@@ -127,7 +127,7 @@ User IP address: {{ paper.user_ip }}
{% elif question.type == "arrange"%}
<div class="well well-sm">
- {% get_arrange_user_answer answers.0.answer question as tc_list %}
+ {% get_answer_for_arrange_options answers.0.answer question as tc_list %}
{% for testcases in tc_list %}
<li>{{ testcases.options.strip|safe }}</li>
{% endfor %}
diff --git a/yaksh/templates/yaksh/view_answerpaper.html b/yaksh/templates/yaksh/view_answerpaper.html
index 3d39092..7cbec91 100644
--- a/yaksh/templates/yaksh/view_answerpaper.html
+++ b/yaksh/templates/yaksh/view_answerpaper.html
@@ -118,7 +118,7 @@
</div>
{% elif question.type == "arrange"%}
<div class="well well-sm">
- {% get_arrange_user_answer answers.0.answer question as tc_list %}
+ {% get_answer_for_arrange_options answers.0.answer question as tc_list %}
{% for testcases in tc_list %}
<li>{{ testcases.options.strip|safe }}</li>
{% endfor %}