summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCruiseDevice2019-02-13 12:10:32 +0530
committerCruiseDevice2019-02-13 12:10:32 +0530
commit07a8d5ec2660bd0e675a5c6f8460837b53826d21 (patch)
tree5ad8e6b3ad616e3e6aed531934950bc9270a7824
parent51fc3bfee398da2781228a3b3bf32cb5ef3abc6b (diff)
downloadonline_test-07a8d5ec2660bd0e675a5c6f8460837b53826d21.tar.gz
online_test-07a8d5ec2660bd0e675a5c6f8460837b53826d21.tar.bz2
online_test-07a8d5ec2660bd0e675a5c6f8460837b53826d21.zip
Add link to the Question in Design QuestionPaper.
- Add a link to edit Question while designing Question Paper.
-rw-r--r--yaksh/templates/yaksh/design_questionpaper.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/yaksh/templates/yaksh/design_questionpaper.html b/yaksh/templates/yaksh/design_questionpaper.html
index bf1f23e..449c12d 100644
--- a/yaksh/templates/yaksh/design_questionpaper.html
+++ b/yaksh/templates/yaksh/design_questionpaper.html
@@ -113,7 +113,7 @@ select
<li>
<label>
<input type="checkbox" name="questions" data-qid="{{question.id}}" value={{question.id}}>
- <span> {{ question.summary }} </span> <span> {{ question.points }} </span>
+ <span><a href="{{URL_ROOT}}/exam/manage/addquestion/{{ question.id }}">{{ question.summary }}</a></span> <span> {{ question.points }} </span>
</label>
</li>
{% endfor %}
@@ -134,7 +134,7 @@ select
<label>
<input type="checkbox" name="added-questions"
data-qid="{{question.id}}" value={{question.id}}>
- <span> {{ question.summary }} </span>
+ <span> <a href="{{URL_ROOT}}/exam/manage/addquestion/{{ question.id }}">{{ question.summary }}</a></span>
<span> {{ question.points }} </span>
</label>
</li>
@@ -175,7 +175,7 @@ select
<li>
<label>
<input type="checkbox" name="random_questions" data-qid="{{question.id}}" value={{question.id}}>
- <span> {{ question.summary }} </span> <span> {{ question.points }} </span>
+ <span> <a href="{{URL_ROOT}}/exam/manage/addquestion/{{ question.id }}">{{ question.summary }}</a></span> <span> {{ question.points }} </span>
</label>
</li>
{% endfor %}
@@ -201,7 +201,7 @@ select
{% for question in random_set.questions.all %}
<li>
<label>
- <span> {{ question.summary }} </span> <span> {{ question.points }} </span>
+ <span> <a href="{{URL_ROOT}}/exam/manage/addquestion/{{ question.id }}">{{ question.summary }}</a></span> <span> {{ question.points }} </span>
</label>
</li>
{% endfor %}