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