From 96f4612c26721342936dfdde8f60f7ce7f79034d Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 4 Jul 2011 09:56:57 +0530 Subject: [PATCH] change html structure of item form --- edgware/static/js/files/browse.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/edgware/static/js/files/browse.js b/edgware/static/js/files/browse.js index a9147d6..e88224b 100644 --- a/edgware/static/js/files/browse.js +++ b/edgware/static/js/files/browse.js @@ -153,14 +153,14 @@ function getJQ(f) { function getItemForm(f) { var $form = $('
').addClass("itemForm"); - var $titleP = $('

').appendTo($form); - var $titleLabel = $('').addClass("itemFormLabel").text("Title: ").appendTo($titleP); - var $titleInput = $('').addClass("itemTitle").val(f.title).appendTo($titleP); - var $descriptionP = $('

').appendTo($form); - var $descriptionLabel = $('').addClass("itemFormLabel").text("Description: ").appendTo($descriptionP); - var $descriptionInput = $('