summaryrefslogtreecommitdiff
path: root/templates/exam/intro.html
diff options
context:
space:
mode:
authorPrabhu Ramachandran2011-11-17 17:35:30 +0530
committerPrabhu Ramachandran2011-11-17 17:35:30 +0530
commit9f674808a5681a0380531ff62079b94874641c1e (patch)
tree63fdb2f431d9fc68705e1170cc4e536a36c18169 /templates/exam/intro.html
parent78e18eae416a37fdb2e27d4dde7ed9675692ac7d (diff)
downloadonline_test-9f674808a5681a0380531ff62079b94874641c1e.tar.gz
online_test-9f674808a5681a0380531ff62079b94874641c1e.tar.bz2
online_test-9f674808a5681a0380531ff62079b94874641c1e.zip
BUG/ENH: Cleaning up page templates and fixing bug
If you complete the quiz it was going into a redirect loop, this is fixed. Also cleaned up all the page templates with proper block contents.
Diffstat (limited to 'templates/exam/intro.html')
-rw-r--r--templates/exam/intro.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/exam/intro.html b/templates/exam/intro.html
index 0d673b3..75de639 100644
--- a/templates/exam/intro.html
+++ b/templates/exam/intro.html
@@ -1,3 +1,8 @@
+{% extends "base.html" %}
+
+{% block title %}Instructions and Rules {% endblock %}
+
+{% block content %}
<h2>Important rules and instructions</h2>
<p> Welcome <strong>{{user.first_name.title}} {{user.last_name.title}}</strong>,
@@ -44,3 +49,5 @@ carefully.
{% csrf_token %}
<input type="submit" name="start" value="Start Exam!">
</form>
+
+{% endblock content %} \ No newline at end of file