X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/422dfbb85e3efd51efd676779012aeb3f9575ba4..cb1976ef371904b45d7961212cd87595a9486284:/floof/templates/art/show.mako diff --git a/floof/templates/art/show.mako b/floof/templates/art/show.mako index 5895be8..45ebcb9 100644 --- a/floof/templates/art/show.mako +++ b/floof/templates/art/show.mako @@ -1,5 +1,5 @@ <%inherit file="/base.mako" /> -<%namespace name="comments" file="/comments.mako" /> +<%namespace name="comments" file="/comments/lib.mako" /> <%! from floof.model.art import Rating %> @@ -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.entire_thread(c.art.discussion)} +${comments.comment_block(c.art.discussion.comments)}