Skip to content

Commit

Permalink
Apply CSS class
Browse files Browse the repository at this point in the history
  • Loading branch information
yucao24hours committed Sep 5, 2016
1 parent 3bef2cb commit 91cf588
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions app/views/posts/show.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,14 @@
= @post.created_at

- @comments.each do |comment|
= comment.commented_by.nickname
== sanitize(auto_link(markdown_to_html(emojify(comment.body))))
.comment
.author
.author__nickname
= comment.commented_by.nickname
.author__created-at
= comment.created_at
.comment__body
== sanitize(auto_link(markdown_to_html(emojify(comment.body))))

.row
.col.s12
Expand Down

0 comments on commit 91cf588

Please sign in to comment.