X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/bc1cccee5faefbcfe6e28ce8f49694cca47b85cb..bedce37c00ee72650787b590e0e549bf6971f2e3:/floof/templates/art/show.mako diff --git a/floof/templates/art/show.mako b/floof/templates/art/show.mako index 02f61d4..715b9d1 100644 --- a/floof/templates/art/show.mako +++ b/floof/templates/art/show.mako @@ -1,7 +1,10 @@ <%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!')} @@ -12,6 +15,15 @@ ${h.end_form()} ${tag} % endfor +

What do you think?

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