X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/b3558ab49ac069f88ee1f1dc39e8127b2519409a..bedce37c00ee72650787b590e0e549bf6971f2e3:/floof/templates/art/show.mako diff --git a/floof/templates/art/show.mako b/floof/templates/art/show.mako index d77f364..715b9d1 100644 --- a/floof/templates/art/show.mako +++ b/floof/templates/art/show.mako @@ -1,17 +1,29 @@ <%inherit file="/base.mako" /> -

View Art

+<%! from floof.model.art import Rating %> +

Viewing Art

+ +% if c.user: ${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: -x -${tag} +x +${tag} % endfor +

What do you think?

+% for score,text in sorted(Rating.options.items()): +${text} +% endfor +% endif