summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authorPrabhu Ramachandran2017-03-20 18:51:47 +0530
committerGitHub2017-03-20 18:51:47 +0530
commit6a09816d66f9f24c0dba275d0dd3aaf7289eb73b (patch)
treeca1bbe5db8a96c7444a11f26400612601cde4757 /yaksh/templates
parent23ecd8fa33e7fa2e953aa9715ae45a2869a044a0 (diff)
parent81a70c486823149b009627eb0194618ceeeb2369 (diff)
downloadonline_test-6a09816d66f9f24c0dba275d0dd3aaf7289eb73b.tar.gz
online_test-6a09816d66f9f24c0dba275d0dd3aaf7289eb73b.tar.bz2
online_test-6a09816d66f9f24c0dba275d0dd3aaf7289eb73b.zip
Merge pull request #228 from adityacp/fixes
Ordering Questions while creating Question Paper
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/design_questionpaper.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/yaksh/templates/yaksh/design_questionpaper.html b/yaksh/templates/yaksh/design_questionpaper.html
index 4418c27..829e27f 100644
--- a/yaksh/templates/yaksh/design_questionpaper.html
+++ b/yaksh/templates/yaksh/design_questionpaper.html
@@ -23,7 +23,7 @@ select
{% block content %}
<input type=hidden id="url_root" value={{ URL_ROOT }}>
-<form action="{{ URL_ROOT }}/exam/manage/designquestionpaper/{{ qpaper.quiz.id }}/{{ qpaper.id }}/" method="POST">
+<form action="{{ URL_ROOT }}/exam/manage/designquestionpaper/{{ qpaper.quiz.id }}/{{ qpaper.id }}/" method="POST" id="design_q">
<input class ="btn primary small" type="submit" name="back" id="back" value="Cancel">
{% csrf_token %}
<input type=hidden name="is_active" id="is_active" value="{{ state }}">
@@ -95,8 +95,10 @@ select
{% for question in fixed_questions %}
<li>
<label>
- <input type="checkbox" name="added-questions" data-qid="{{question.id}}" value={{question.id}}>
- <span> {{ question.summary }} </span> <span> {{ question.points }} </span>
+ <input type="checkbox" name="added-questions"
+ data-qid="{{question.id}}" value={{question.id}}>
+ <span> {{ question.summary }} </span>
+ <span> {{ question.points }} </span>
</label>
</li>
{% endfor %}