X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/efdbb22873232827398ba7605f8b35c605c043e9..490b45cdc311a09db0266a3f974289e3979bf2ea:/floof/templates/art/show.mako
diff --git a/floof/templates/art/show.mako b/floof/templates/art/show.mako
index 05d1e42..9356447 100644
--- a/floof/templates/art/show.mako
+++ b/floof/templates/art/show.mako
@@ -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)}