templates/open_quiz.html
author nishanth
Fri, 02 Jul 2010 14:12:25 +0530
changeset 87 e81b105b1128
parent 63 21cdadb1b98e
permissions -rw-r--r--
found easier way to get things done. so removed all the junk code.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
25
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
     1
{% extends 'base.html' %}
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
     2
{% block content %}
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
     3
	{% if success %}
34
8d0d82c981b3 added "return to admin page" link in open_quiz page
nishanth
parents: 25
diff changeset
     4
	The quiz {{quiz_name}} has been successfully opened.<br />
8d0d82c981b3 added "return to admin page" link in open_quiz page
nishanth
parents: 25
diff changeset
     5
	<a href="/event/admin/{{admin_key}}">Return to admin page</a>
25
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
     6
	{% else %}
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
     7
	Select the quiz to open.
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
     8
	<form action="" method="post">
63
21cdadb1b98e replaced the old form with new one in view and template for opening quiz
nishanth
parents: 34
diff changeset
     9
        {{ form.as_p }}
21cdadb1b98e replaced the old form with new one in view and template for opening quiz
nishanth
parents: 34
diff changeset
    10
<!--	<select name="quiz_num">
25
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
    11
	<option value="11">Day 1 Quiz 1</option>
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
    12
	<option value="12">Day 1 Quiz 2</option>
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
    13
	<option value="21">Day 2 Quiz 1</option>
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
    14
	</select>
63
21cdadb1b98e replaced the old form with new one in view and template for opening quiz
nishanth
parents: 34
diff changeset
    15
        -->
25
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
    16
	<input type="submit" value="Open">
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
    17
	</form>
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
    18
	{% endif %}
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
    19
{% endblock %}