Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 1aee1da6b8
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (17 sloc) 0.749 kb
%aside#comments
%ul
- Comment.find(url: req.path).sort(order: "desc").each do |comment|
%li
= partial "avatar", email: comment.user.email, size: 32
%article
- time = Time.at(comment.last_modified.to_i).utc
%time(datetime="#{time.iso8601}" pubdate="pubdate")
= time.strftime("%b %e, %Y %I.%M%P")
~ RDiscount.new(comment.body, :smart, :filter_html).to_html
%form.user.logged-in(method="post" action="/comments" style="display: none")
%input(type="hidden" name="url" value="#{req.path}")
%img.user.gravatar(src="" width="32" height="32")
%textarea(name="body")
%input(type="submit" value="Post")
%p.user.anonymous
%a(href="/login") Log in to comment
Jump to Line
Something went wrong with that request. Please try again.