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.4.8 app/views/blogit/posts/_comments_count.html.erb
blogit-0.4.7 app/views/blogit/posts/_comments_count.html.erb
blogit-0.4.6 app/views/blogit/posts/_comments_count.html.erb
blogit-0.4.5 app/views/blogit/posts/_comments_count.html.erb
blogit-0.4.4 app/views/blogit/posts/_comments_count.html.erb
blogit-0.4.3 app/views/blogit/posts/_comments_count.html.erb
blogit-0.4.2 app/views/blogit/posts/_comments_count.html.erb
blogit-0.4.1 app/views/blogit/posts/_comments_count.html.erb
blogit-0.4.0 app/views/blogit/posts/_comments_count.html.erb
blogit-0.3.2 app/views/blogit/posts/_comments_count.html.erb
blogit-0.3.1 app/views/blogit/posts/_comments_count.html.erb
blogit-0.3.0 app/views/blogit/posts/_comments_count.html.erb
blogit-0.2.1 app/views/blogit/posts/_comments_count.html.erb
blogit-0.2.0 app/views/blogit/posts/_comments_count.html.erb
blogit-0.1.0 app/views/blogit/posts/_comments_count.html.erb
blogit-0.0.13 app/views/blogit/posts/_comments_count.html.erb
blogit-0.0.12 app/views/blogit/posts/_comments_count.html.erb
blogit-0.0.11 app/views/blogit/posts/_comments_count.html.erb
blogit-0.0.10 app/views/blogit/posts/_comments_count.html.erb
blogit-0.0.9 app/views/blogit/posts/_comments_count.html.erb