% layout 'default'; % title "Thread #$thread->{'id'}";

<%= title %>

<%= $thread->{'title'} %>

<%= $thread->{'date'} %>

<%= $thread->{'author'} %>

<%= $thread->{'body'} %>

<% if (is_mod) { =%> <% } =%> <% if (my $first_remark = $remarks->[0]) { =%>

Remarks

<% for my $remark (@{$remarks}) { =%>

<%= $remark->{'date'} %>

<%= $remark->{'author'} %>

<%= $remark->{'body'} %>

<% } =%>
<% } =%>