summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yaksh/static/yaksh/js/add_quiz.js2
-rw-r--r--yaksh/templates/yaksh/add_quiz.html1
2 files changed, 1 insertions, 2 deletions
diff --git a/yaksh/static/yaksh/js/add_quiz.js b/yaksh/static/yaksh/js/add_quiz.js
index e06c863..f4067ed 100644
--- a/yaksh/static/yaksh/js/add_quiz.js
+++ b/yaksh/static/yaksh/js/add_quiz.js
@@ -7,7 +7,7 @@ function test()
{
document.getElementById("submit").innerHTML = "Save";
}
- var template = "<p id='rendered_text'></p>";
+ var template = "<p id='rendered_text' align='justify'></p>";
$(template).insertBefore("#id_instructions");
$('#id_instructions').keypress(function (event){
document.getElementById('rendered_text').innerHTML = document.getElementById('id_instructions').value ;
diff --git a/yaksh/templates/yaksh/add_quiz.html b/yaksh/templates/yaksh/add_quiz.html
index b3b49ae..38773b5 100644
--- a/yaksh/templates/yaksh/add_quiz.html
+++ b/yaksh/templates/yaksh/add_quiz.html
@@ -25,7 +25,6 @@
$("#id_start_date_time").datetimepicker({format: 'Y-m-d H:i:s'});
$("#id_end_date_time").datetimepicker({format: 'Y-m-d H:i:s'});
</script>
- </table>
<br/><br/>
</center>