summaryrefslogtreecommitdiff
path: root/root/add_form
diff options
context:
space:
mode:
authordakkar <dakkar@luxion>2005-11-10 17:57:01 +0000
committerdakkar <dakkar@luxion>2005-11-10 17:57:01 +0000
commitdb8feb39b618eca0ab6bb0000f1d7ed3d6678a7a (patch)
tree0092ed285e1ea4992e0e2af43e3ef8fe5ea29679 /root/add_form
parentfatto stile per la lista di link, messo il JS in file (diff)
downloadBookmarks-db8feb39b618eca0ab6bb0000f1d7ed3d6678a7a.tar.gz
Bookmarks-db8feb39b618eca0ab6bb0000f1d7ed3d6678a7a.tar.bz2
Bookmarks-db8feb39b618eca0ab6bb0000f1d7ed3d6678a7a.zip
* cambiato ordinamento dei tag (ora รจ sempre alfabetico)
* riordinata e migliorata la form di add * stile per la form di add * corretto il caricamento delle favicon * corretta la pulitura tags
Diffstat (limited to 'root/add_form')
-rw-r--r--root/add_form22
1 files changed, 15 insertions, 7 deletions
diff --git a/root/add_form b/root/add_form
index b403a3d..d6a32d6 100644
--- a/root/add_form
+++ b/root/add_form
@@ -7,28 +7,36 @@
</head>
<body>
<form action="[% href.add_action() %]" method="post">
+
<p>
<label for="url">Link:</label>
- <input id="url" name="url" type="text" value="[% link.url %]" />
+ <input id="url" name="url" type="text" size="30" value="[% link.url %]" />
</p>
+
<p>
<label for="title">Title:</label>
- <input id="title" name="title" type="text" value="[% link.title %]" />
- </p>
- <p>
- <label for="descr">Description:</label>
- <input id="descr" name="descr" type="text" value="[% link.descr %]" />
+ <input id="title" name="title" type="text" size="30" value="[% link.title %]" />
</p>
+
<p>
<label for="tag_field">Tags:</label>
- <input autocomplete="off" id="tag_field" name="tag" type="text" value="[% tags.join(' ') %]" />
+ <input autocomplete="off" id="tag_field" name="tag" type="text" size="30" value="[% tags.join(' ') %]" />
</p>
<div id="tag_field_auto_complete" class="auto_complete"></div>
<script type="text/javascript">new Ajax.Autocompleter('tag_field', 'tag_field_auto_complete', '[% href.tag_autocomplete() %]', { tokens: ' ' })</script>
+
+ <p>
+ <label for="descr">Description:</label>
+ <textarea id="descr" name="descr" cols="30" rows="4">
+ [%- link.descr -%]
+ </textarea>
+ </p>
+
<input type="submit" name="add" value="Submit" />
[% IF mode=='edit' -%]
<input type="submit" name="delete" value="Delete" />
[%- END %]
+ <input type="hidden" name="close" value="[% close %]" />
</form>
</body>
</html> \ No newline at end of file