Sha256: 92c7970e51237f55d36fb7fba0dd55f1fdbaf9f6c9b15ae9f16ef3af5b230334

Contents?: true

Size: 257 Bytes

Versions: 6

Compression:

Stored size: 257 Bytes

Contents

<%= content_tag(:div, class: "blog_post_comments_count", id: "blog_post_#{post.id}_comments_count") do %>
  <%= link_to(post_path(post, anchor: "comments")) do %>
    <%=t :comment, scope: 'blogit.posts', count: post.comments_count %>
  <% end %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
blogit-1.0.0.rc1 app/views/blogit/posts/_comments_count.html.erb
blogit-0.8.0 app/views/blogit/posts/_comments_count.html.erb
blogit-0.7.0 app/views/blogit/posts/_comments_count.html.erb
blogit-0.6.0 app/views/blogit/posts/_comments_count.html.erb
blogit-0.5.1 app/views/blogit/posts/_comments_count.html.erb
blogit-0.5.0 app/views/blogit/posts/_comments_count.html.erb