aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/blog/posts/_comment.html.erb
blob: 71eab30c001ea8094fe58ce0e3736a5596a688da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
<article class='blog_comment_message' id='<%= "comment-#{comment.to_param}" %>'>
  <p>
    <%= simple_format auto_link(comment.message.to_s) %>
  </p>
  <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>