Sha256: 7b9307c796f0581332c1a0524c65e3c320fbb7feb67d3619dd2891a934eb607d
Contents?: true
Size: 823 Bytes
Versions: 4
Compression:
Stored size: 823 Bytes
Contents
<?xml version="1.0"?> <root> <h2>#{@entry.comments_count} Comments:</h2> <?r if comments = @entry.comments for comment in comments ?> <div class="comment"> #{comment.body} <div class="footer"> by #{comment.author} at #{comment.create_time.strftime('%R %p')} <?r if session['owner'] ?> [<a href="del_comment?oid=#{comment.oid}">del</a>] <?r end ?> </div> </div> <?r end else ?> no comments. <?r end ?> <form action="new_comment" method="post"> <input type="hidden" name="entry_oid" value="#{@entry.oid}" /> <p> <b>Your name:</b><br /> <input type="text" name="author" value="#{session['username']}" /> </p> <p> <b>Write your thoughts:</b><br /> <textarea name="body" style="width: 90%; height: 100px">#{}</textarea> </p> <input type="submit" value="Add comment" /> </form> </root>
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.4.1 | examples/blog/root/comments.xhtml |
nitro-0.5.0 | examples/blog/root/comments.xhtml |
nitro-0.6.0 | examples/blog/root/comments.xhtml |
nitro-0.7.0 | examples/blog/root/comments.xhtml |