<%= $remark->{'date'} %> #<%= $remark->{'id'} %> <%= $remark->{'author'} %> <%== markdown $remark->{'body'} =%> <%= link_to Thread => single_thread => {thread_id => $remark->{'thread_id'}}, (class => 'click') %> <%= link_to Remark => post_remark => {thread_id => $remark->{'thread_id'}}, (class => 'click') %> <%= link_to Flag => flag_remark => {remark_id => $remark->{'id'}}, (class => 'click') %> <% if (is_mod) { =%> <%= link_to Hide => hide_remark => {remark_id => $remark->{'id'}}, (class => 'click') %> <%= link_to Unhide => unhide_remark => {remark_id => $remark->{'id'}}, (class => 'click') %> <%= link_to Unflag => unflag_remark => {remark_id => $remark->{'id'}}, (class => 'click') %> <% } =%>