diff options
author | adityacp | 2020-01-21 11:22:59 +0530 |
---|---|---|
committer | adityacp | 2020-01-21 11:22:59 +0530 |
commit | 2ba4173ae9ceb2f1eb2b24e028b2ae419a4d035c (patch) | |
tree | 7389dcda6da44f5706b7da06e7acdb9dace8602e /yaksh | |
parent | c17befa219b03adc4cd4c0902d9248994db90c38 (diff) | |
download | online_test-2ba4173ae9ceb2f1eb2b24e028b2ae419a4d035c.tar.gz online_test-2ba4173ae9ceb2f1eb2b24e028b2ae419a4d035c.tar.bz2 online_test-2ba4173ae9ceb2f1eb2b24e028b2ae419a4d035c.zip |
Change url pattern in design question paper
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/templates/yaksh/design_questionpaper.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/yaksh/templates/yaksh/design_questionpaper.html b/yaksh/templates/yaksh/design_questionpaper.html index c5aa25e..9839bbf 100644 --- a/yaksh/templates/yaksh/design_questionpaper.html +++ b/yaksh/templates/yaksh/design_questionpaper.html @@ -129,7 +129,7 @@ <input type="checkbox" name="questions" data-qid="{{question.id}}" value={{question.id}}> <span> {% if user == question.user %} - <a href="{{URL_ROOT}}/exam/manage/addquestion/{{ question.id }}" target="_blank">{{ question.summary }}</a> + <a href="{% url 'yaksh:add_question' question.id %}" target="_blank">{{ question.summary }}</a> {% else %} {{question.summary}} {% endif %} @@ -159,7 +159,7 @@ data-qid="{{question.id}}" value={{question.id}}> <span> {% if user == question.user %} - <a href="{{URL_ROOT}}/exam/manage/addquestion/{{ question.id }}" target="_blank">{{ question.summary }}</a> + <a href="{% url 'yaksh:add_question' question.id %}" target="_blank">{{ question.summary }}</a> {% else %} {{question.summary}} {% endif %} @@ -208,7 +208,7 @@ <input type="checkbox" name="random_questions" data-qid="{{question.id}}" value={{question.id}}> <span> {% if user == question.user %} - <a href="{{URL_ROOT}}/exam/manage/addquestion/{{ question.id }}" target="_blank">{{ question.summary }}</a> + <a href="{% url 'yaksh:add_question' question.id %}" target="_blank">{{ question.summary }}</a> {% else %} {{question.summary}} {% endif %}</span> @@ -242,7 +242,7 @@ <label> <span> {% if user == question.user %} - <a href="{{URL_ROOT}}/exam/manage/addquestion/{{ question.id }}" target="_blank">{{ question.summary }}</a> + <a href="{% url 'yaksh:add_question' question.id %}" target="_blank">{{ question.summary }}</a> {% else %} {{question.summary}} {% endif %}</span> |