summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authormaheshgudi2016-05-16 12:43:39 +0530
committermaheshgudi2016-05-27 12:43:12 +0530
commit4f94c550a16654c6723a8c09cff6557a135f4747 (patch)
tree68c228cbdfd551f4b1c775d8d990054df3080af3 /yaksh/templates
parent175153cc5daeccd80bfa0184114ebf01bae93013 (diff)
downloadonline_test-4f94c550a16654c6723a8c09cff6557a135f4747.tar.gz
online_test-4f94c550a16654c6723a8c09cff6557a135f4747.tar.bz2
online_test-4f94c550a16654c6723a8c09cff6557a135f4747.zip
home button will redirect moderators to exam/manage instead of exam/quizzes
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/intro.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/yaksh/templates/yaksh/intro.html b/yaksh/templates/yaksh/intro.html
index f05e9a1..b4bc6d7 100644
--- a/yaksh/templates/yaksh/intro.html
+++ b/yaksh/templates/yaksh/intro.html
@@ -39,8 +39,11 @@
</li>
</ul>
<p> We hope you enjoy taking this exam !!!</p>
-
+ {% if user == "moderator" %}
+ <form action="{{URL_ROOT}}/exam/manage/" method="post" align="center">
+ {%else%}
<form action="{{URL_ROOT}}/exam/quizzes/" method="post" align="center">
+ {% endif %}
{% csrf_token %}
<center><button class="btn" name="home">Home</button></center>
</form>