]> git.decadent.org.uk Git - memories.git/blobdiff - templates/photo/tagedit
Merge commit 'trunk'
[memories.git] / templates / photo / tagedit
index a34d8bd644ace8ff25f095ac5497cc2d48677ea3..24f60ad25b6c836e988314dbf631e9a2bc909143 100644 (file)
@@ -1,3 +1,4 @@
+
 <div class="messages"><small>
 <b>Tagging advice</b>: Tags should be words, (<i>portrait</i>, <i>henry</i>) or
 phrases surrounded by double quotes. (<i>"tall buildings"</i>) You can
@@ -11,11 +12,10 @@ put any number of tags in the "add tags" box, like this:
 </div>
 
 Delete tags: <form action="[%base%]/photo/edit_tags/[%photo.id%]" method="post">
-<ul>
 [% FOR tagging = photo.taggings %]
-    <li> [% tagging.tag %] <input type="checkbox" name="delete_[%tagging.id%]">
+    <span class="tagedittagdelete">[% tagging.tag %]<input type="checkbox" name="delete_[%tagging.id%]"></span>
 [% END %]
-</ul>
 <p> Add tags: <input type="textbox" name="newtags" id="tags"> <input
 type="submit" value="Tag it!"> </p>
+<script type="text/javascript"> addHandler($("tags")) </script>
 </form>