X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/ef69b26ffcf9185496775bcf73384ea3a5e5691c..6fb3ad2a578aa2e0eced735187a02a79a8907668:/floof/templates/art/show.mako diff --git a/floof/templates/art/show.mako b/floof/templates/art/show.mako index 7d54f98..715b9d1 100644 --- a/floof/templates/art/show.mako +++ b/floof/templates/art/show.mako @@ -1,5 +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} +% endfor + +

What do you think?

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