Alex 'AdUser' Z
7 years ago
2 changed files with 16 additions and 1 deletions
@ -0,0 +1,14 @@
|
||||
% my $comments = stash('comments') || []; |
||||
<div id="cmtd_main"> |
||||
% foreach my $cm (@{ $comments }) { |
||||
<div id="cmtd_comment"> |
||||
<div class="cmtd_head"> |
||||
<%= tag span => (class => 'cmtd_num') => $cm->{seq} %>, |
||||
<%= tag span => (class => 'cmtd_name') => $cm->{name} %>, |
||||
<%= tag span => (class => 'cmtd_date') => $cm->{date} %>, |
||||
<%= link_to 'Reply' => '#', class => 'reply', 'date-id' => $cm->{seq} %> |
||||
</div> |
||||
<%= tag 'div' => (class => 'cmtd_text') => $cm->{text} %> |
||||
</div> |
||||
% } |
||||
</div> |
Loading…
Reference in new issue