X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/b937806fb5039b4073784b576ffeb30c7fab499c..55270a42bf0699bd78b95a945fddd73a165507ee:/floof/templates/art/show.mako diff --git a/floof/templates/art/show.mako b/floof/templates/art/show.mako index d77f364..fc0a3f8 100644 --- a/floof/templates/art/show.mako +++ b/floof/templates/art/show.mako @@ -1,5 +1,7 @@ <%inherit file="/base.mako" /> +<%! from floof.model.art import Rating %> +

View Art

${h.form (h.url_for (controller='art', action='tag', id=c.art.id), multipart=True)} @@ -9,9 +11,17 @@ ${h.end_form()} % for tag in c.art.tags: x -${tag} +${tag} % endfor +What do you think? +% for score,text in sorted(Rating.options.items()): +${text} +% endfor