X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/366dedf71b3cdd775251c7cea4b1519b44b37164..20379253a8fa1326e175c0f0bb5faee4aeeea158:/floof/templates/art/show.mako?ds=sidebyside diff --git a/floof/templates/art/show.mako b/floof/templates/art/show.mako index 262f1cb..bf14dff 100644 --- a/floof/templates/art/show.mako +++ b/floof/templates/art/show.mako @@ -1,6 +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

@@ -31,5 +32,23 @@ ${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)}