From 480fc524eaffa99bbcec65b0829f6116ccace673 Mon Sep 17 00:00:00 2001 From: jayparikh111 Date: Thu, 15 Mar 2012 18:12:49 +0530 Subject: minor UI changes --- testapp/templates/exam/add_question.html | 138 +++++++++++++++++++++++++++---- 1 file changed, 124 insertions(+), 14 deletions(-) (limited to 'testapp/templates/exam/add_question.html') diff --git a/testapp/templates/exam/add_question.html b/testapp/templates/exam/add_question.html index 8bccb66..6c1d533 100644 --- a/testapp/templates/exam/add_question.html +++ b/testapp/templates/exam/add_question.html @@ -1,32 +1,142 @@ {% extends "manage.html" %} + {% block subtitle %}Add Question{% endblock %} +{% block css %} + +{% endblock %} + {% block script %} - + {% endblock %} -{% block css %} - -{% endblock %} + +{% block onload %} onload='javascript:textareaformat();' {% endblock %} {% block manage %} -
+ {% csrf_token %} -Look of Question in HTML Format : -

-
- {{ form.as_table }} -
- + Summary: {{ form.summary }}{{ form.summary.errors }} + Points:{{ form.points }}{{ form.points.errors }}   Active:   {{ form.active }}{{form.active.errors}}   Type:  {{ form.type }}{{form.type.errors}} + Rendered:

+ Description: {{ form.description}} {{form.description.errors}} + Test: {{ form.test }}{{form.test.errors}} + Options: {{ form.options }} {{form.options.errors}} +
- {% endblock %} + -- cgit