Sha256: 34efc0a76249444646753e59a69b62417e387d6b7e2cd6729ab326111df65b15

Contents?: true

Size: 239 Bytes

Versions: 25

Compression:

Stored size: 239 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 %>
    <%= pluralize post.comments_count, "comment" %>
  <% end %>  
<% end %>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
blogit-0.0.8 app/views/blogit/posts/_comments_count.html.erb
blogit-0.0.7 app/views/blogit/posts/_comments_count.html.erb
blogit-0.0.6 app/views/blogit/posts/_comments_count.html.erb
blogit-0.0.5 app/views/blogit/posts/_comments_count.html.erb
blogit-0.0.4 app/views/blogit/posts/_comments_count.html.erb