X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/f267b2f2841d407dcdf9c3c0f5406f8c10403ccb..da9dc9c1a060be8de3c13fa308a047b4b57eaaeb:/floof/templates/art/show.mako diff --git a/floof/templates/art/show.mako b/floof/templates/art/show.mako index cf713dc..05d1e42 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

@@ -32,6 +32,20 @@ ${h.submit('score', text)} ${h.end_form()} % endif +

Relations

+ + +

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)}