templates/open_quiz.html
author nishanth
Tue, 29 Jun 2010 12:28:18 +0530
changeset 63 21cdadb1b98e
parent 34 8d0d82c981b3
permissions -rw-r--r--
replaced the old form with new one in view and template for opening quiz

{% extends 'base.html' %}
{% block content %}
	{% if success %}
	The quiz {{quiz_name}} has been successfully opened.<br />
	<a href="/event/admin/{{admin_key}}">Return to admin page</a>
	{% else %}
	Select the quiz to open.
	<form action="" method="post">
        {{ form.as_p }}
<!--	<select name="quiz_num">
	<option value="11">Day 1 Quiz 1</option>
	<option value="12">Day 1 Quiz 2</option>
	<option value="21">Day 2 Quiz 1</option>
	</select>
        -->
	<input type="submit" value="Open">
	</form>
	{% endif %}
{% endblock %}