aboutsummaryrefslogblamecommitdiffstats
path: root/app/views/refinery/blog/posts/_comment.html.erb
blob: 2df042040058e9d958f41dde10a2144ebe501a1e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                                                
                                                                                      
                                                      

                                      

                                                                                                                    


           
<article class='blog_comment_message' id='<%= "comment-#{comment.to_param}" %>'>
  <%= image_tag avatar_url(comment.email), :alt => comment.name, :class => 'avatar' %>
  <%= simple_format auto_link(comment.message.to_s) %>
  <footer class='blog_comment_author'>
    <p>
      <%= t('by', :scope => 'refinery.blog.posts.comments', :who => comment.name) %>,
      <%= t('time_ago', :scope => 'refinery.blog.posts.comments', :time => time_ago_in_words(comment.created_at)) %>
    </p>
  </footer>
</article>