diff options
author | jayparikh111 | 2012-03-21 17:11:33 +0530 |
---|---|---|
committer | jayparikh111 | 2012-03-21 17:11:33 +0530 |
commit | 2f21a4a007ae9b51fadd7832fe90506f19e309e2 (patch) | |
tree | 2e81dbcd1e8310b647edb1f7d7a6e09a021ed3f6 /testapp/templates/exam/add_question.html | |
parent | e524bef336df95fd307d045af37c379bccf3ea14 (diff) | |
download | online_test-2f21a4a007ae9b51fadd7832fe90506f19e309e2.tar.gz online_test-2f21a4a007ae9b51fadd7832fe90506f19e309e2.tar.bz2 online_test-2f21a4a007ae9b51fadd7832fe90506f19e309e2.zip |
changes for adding tags in questions
Diffstat (limited to 'testapp/templates/exam/add_question.html')
-rw-r--r-- | testapp/templates/exam/add_question.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/testapp/templates/exam/add_question.html b/testapp/templates/exam/add_question.html index f832d46..3f8637e 100644 --- a/testapp/templates/exam/add_question.html +++ b/testapp/templates/exam/add_question.html @@ -42,6 +42,7 @@ function textareaformat() document.getElementById('id_type').setAttribute('class','select-type'); document.getElementById('id_points').setAttribute('class','mini-text'); + document.getElementById('id_tags').setAttribute('class','tag-text'); $('#id_description').bind('focus', function( event ){ document.getElementById("id_description").rows=5; @@ -134,7 +135,10 @@ function autosubmit() <tr><td><strong>Rendered: </strong><td><p id='my'></p> <tr><td>Description: <td>{{ form.description}} {{form.description.errors}} <tr><td>Test: <td>{{ form.test }}{{form.test.errors}} - <tr><td id='label_option'>Options: <td>{{ form.options }} {{form.options.errors}} + <tr><td>Tags: <td>{{ form.tags }} + <tr><td id='label_option'>Options: <td>{{ form.options }} {{form.options.errors}} + + </table></center> <center><button class="btn" type="submit" name="savequestion">Save</button> <button class="btn" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/questions/");'>Cancel</button> </center> |