<%inherit file="/base.mako" />
+<%! from floof.model.art import Rating %>
+
<h1>View Art</h1>
${h.form (h.url_for (controller='art', action='tag', id=c.art.id), multipart=True)}
% for tag in c.art.tags:
<a href="${h.url_for (controller='tag', action='delete', id=tag.id)}">x</a>
-<a href="${h.url_for (controller='search', action='results')}?query=${tag}">${tag}</a>
+<a href="${h.url_for (controller='search', action='index')}?query=${tag}">${tag}</a>
% endfor
+What do you think?
+% for score,text in sorted(Rating.options.items()):
+<a href="${h.url_for(controller='art', action='rate', id=c.art.id)}?score=${score}" \
+% if c.your_score == score:
+class="selected" \
+% endif
+>${text}</a>
+% endfor
<img class="full" src="${c.art.get_path()}">