Sha256: e82c51a4b767481b0b7f0dd9edcded91aeb3acbc110e9883cdf0501599eae1dd

Contents?: true

Size: 283 Bytes

Versions: 4

Compression:

Stored size: 283 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blogit-1.1.2 app/views/blogit/comments/_comments_count.html.erb
blogit-1.1.1 app/views/blogit/comments/_comments_count.html.erb
blogit-1.1.0 app/views/blogit/comments/_comments_count.html.erb
blogit-1.0.0 app/views/blogit/comments/_comments_count.html.erb