X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/cb1976ef371904b45d7961212cd87595a9486284..490b45cdc311a09db0266a3f974289e3979bf2ea:/floof/templates/art/show.mako
diff --git a/floof/templates/art/show.mako b/floof/templates/art/show.mako
index 45ebcb9..9356447 100644
--- a/floof/templates/art/show.mako
+++ b/floof/templates/art/show.mako
@@ -1,7 +1,7 @@
<%inherit file="/base.mako" />
<%namespace name="comments" file="/comments/lib.mako" />
-<%! from floof.model.art import Rating %>
+<%! from floof.model import Rating %>
Viewing Art
@@ -34,18 +34,15 @@ ${h.end_form()}
Relations
-% for relation in c.art.user_relations:
-- ${relation.kind}: ${relation.user}
+% for label, relations in (('Artist', c.art.artists), \
+ ('Recipient', c.art.recipients), \
+ ('Participant', c.art.participants)):
+% for user in relations:
+
- ${label}: ${user.name}
+% endfor
% endfor
-Add Relations
-${h.form (h.url("create_relation", kind="by", art_id=c.art.id))}
-By: ${h.text('username')}
-${h.submit('add','Add')}
-${h.end_form()}
-
-
-
+
${comments.comment_block(c.art.discussion.comments)}