1 <%inherit file="/base.mako" />
3 <%! from floof.model.art import Rating %>
7 ${h.form (h.url_for (controller='art', action='tag', id=c.art.id), multipart=True)}
8 Add Some Tags: ${h.text('tags')}
9 ${h.submit('submit', 'Tag!')}
12 % for tag in c.art.tags:
13 <a href="${url(controller='tag', action='delete', id=tag.id)}">x</a>
14 <a href="${url(controller='search', action='index', query=tag)}">${tag}</a>
18 % for score,text in sorted(Rating.options.items()):
19 <a href="${h.url_for(controller='art', action='rate', id=c.art.id)}?score=${score}" \
20 % if c.your_score == score:
26 <img class="full" src="${c.art.get_path()}">