blob: 17b2002e6f52aeb584d18108913625e3b336660f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
<article class='blog_comment_message' id='<%= "comment-#{comment.to_param}" %>'>
<%= image_tag comment.avatar_url, :alt => comment.name, :class => 'avatar' %>
<%= simple_format auto_link(comment.message.to_s) %>
<footer class='blog_comment_author'>
<p>
<%= t('blog.posts.comments.by', :who => comment.name) %>,
<%= t('blog.posts.comments.time_ago', :time => time_ago_in_words(comment.created_at)) %>
</p>
</footer>
</article>
|