tagging works
[zzz-floof.git] / floof / templates / art / show.mako
index 7d54f98..88e3ec9 100644 (file)
@@ -2,4 +2,15 @@
 
 <h1>View Art</h1>
 
-<img src="${c.art.get_path()}"
\ No newline at end of file
+${h.form (h.url_for (controller='art', action='tag', id=c.art.id), multipart=True)}
+Add Some Tags: ${h.text('tags')}
+${h.submit('submit', 'Tag!')}
+${h.end_form()}
+
+% for tag in c.art.tags:
+${tag}
+% endfor
+
+
+<img class="full" src="${c.art.get_path()}">
+