Merge branch 'tags' into search
[zzz-floof.git] / floof / templates / art / show.mako
1 <%inherit file="/base.mako" />
2
3 <h1>View Art</h1>
4
5 ${h.form (h.url_for (controller='art', action='tag', id=c.art.id), multipart=True)}
6 Add Some Tags: ${h.text('tags')}
7 ${h.submit('submit', 'Tag!')}
8 ${h.end_form()}
9
10 % for tag in c.art.tags:
11 <a href="${h.url_for (controller='tag', action='delete', id=tag.id)}">x</a> 
12 <a href="${h.url_for (controller='search', action='results')}?query=${tag}">${tag}</a>
13 % endfor
14
15
16 <img class="full" src="${c.art.get_path()}">
17