Browse files

r.commentsじゃないお

  • Loading branch information...
1 parent 34d7e3c commit 1d61d26cf2003aa6689f7802475c014c3dd4ec5f @kentaro committed Apr 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 eg/guestbook/templates/index.html
View
4 eg/guestbook/templates/index.html
@@ -20,10 +20,10 @@
[%- SET comments = r.comments(10) %]
[%- IF comments.size %]
<dl>
- [%- FOREACH comment IN r.comments %]
+ [%- FOREACH comment IN comments %]
<dt>name: [% comment.name | html %] ([% comment.created | html %])</dt>
<dd>comment: [% comment.comment | html %]</dd>
- [%- END # FOREACH comment IN r.comments %]
+ [%- END # FOREACH comment IN comments %]
</dl>
[%- END # IF comments.size %]
</body>

0 comments on commit 1d61d26

Please sign in to comment.