summaryrefslogtreecommitdiff
path: root/templates/exam
diff options
context:
space:
mode:
Diffstat (limited to 'templates/exam')
-rw-r--r--templates/exam/register.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/exam/register.html b/templates/exam/register.html
index 414da72..c0d0cb7 100644
--- a/templates/exam/register.html
+++ b/templates/exam/register.html
@@ -1,7 +1,13 @@
-Please provide the following details before you start the test.
+{% if form %}
+Please provide the following details.
<form action="" method="post">
{% csrf_token %}
{{ form.as_p }}
-<input type="submit" value="submit">
+
+<input type="submit" value="Register" />
</form>
+{% else %}
+Congratulations {{ full_name }}! You have successfully registered.<br />
+Please proceed to <a href="/exam/login/">Login</a>.
+{% endif %}