File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 :markdown
44 #{@content.body}
55- @content.comments.each do |reply|
6- %div
7- %a {:href => " /hackers/#{ reply.author } " }
8- %img{:src => gravatar_url_for(reply.author_email), :alt => " #{ reply.author.downcase } _gravatar" , :class => " comment_gravatar" }
9- %div
10- %p
11- <a href=" /hackers/#{ reply.author } " >#{reply.author}</a> says:
12- %p
13- = reply.body
6+ .comment {:style => " clear:both;padding-bottom:1em" }
7+ %div{:style => " float:left;padding-right:1em" }
8+ %a{:href => " /hackers/#{ reply.author } " }
9+ %img{:src => gravatar_url_for(reply.author_email), :alt => " #{ reply.author.downcase } _gravatar" , :class => " comment_gravatar" }
10+ %div{:style => " width:500px" }
11+ %p
12+ <a href=" /hackers/#{ reply.author } " >#{reply.author}</a> says:
13+ %p
14+ :markdown
15+ #{reply.body}
1416
1517%h2 Add a comment
1618%form {:action => " /content/#{ @content .id} /comment" , :method => " POST" }
You can’t perform that action at this time.
0 commit comments