[% META title = '- id = q.param("id"); post = get(id); GET post.name; ' next_action = 'plugin_Blog_add_comment' %] [% id = q.param('id'); post = get(id); %] [% IF post.name %]

[% post.name %] [% IF post.has_member(u) OR u.level >= 20 %]  ([% post.wu_jump(label='Edit') %]) [% END %]

[% END %]
[% post.has_body %]

[% FOREACH comment IN post.rev_plugin_blog_post_comment_is_about.sorted('has_date', 'desc') %] [% counter = counter + 1 %] [%# debug( 1, counter ) %]
[% IF u.has_root_access %] ([% jump("Edit", comment.form_url) %])
[% END %] Datum: [% comment.has_date #.strftime("%Y-%m-%d, %H.%M") %]
Namn: [% comment.is_from %]
E-post: [% comment.has_email %]

[% comment.has_body | html | html_para %]

[% LAST IF counter > 50 %] [% END %]
(Alla ifyllda fält visas. Fyll i vad du vill.)
[% hidden('id', post.id) %] [% input("name", "", label="Mitt namn") %]
[% input("has_email", "", label="Min e-post") %]
[% textarea("message", "", rows=5, label="Meddelande", separator="
") %]
[% site.captcha.as_html %]
[% step %]