Sha256: 8023313fbbae117b0c212cac637fb05d2a3dac79ab1528085b11214682232bfa
Contents?: true
Size: 567 Bytes
Versions: 1
Compression:
Stored size: 567 Bytes
Contents
<?xml version="1.0"?> <!-- the <?xml declaration is optional, but lets be strict. --> <p> <?r # methods: P::Articles.add_comment(request) P::Articles.del_comment(request) parent = request[:comments_parent] comments = parent.comments ?> <?r if comments ?> <ul> <?r for comment in comments ?> <li> <b>#{N::TimeUtils.date_time(comment.create_time)}:</b> #{comment.body} [<a href="@?del_comment_oid=#{comment.oid}">del</a>] </li> <?r end ?> </ul> <?r end ?> <!-- include at compile time (static include) --> <?include xl:href="comments-form.ss" ?> </p>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.3.0 | examples/simple/root/comments.si |