Sha256: 68bd28ef11621a24faf57f22a1fca2f1c093078f5c37fb20c339c2d243625212
Contents?: true
Size: 382 Bytes
Versions: 1
Compression:
Stored size: 382 Bytes
Contents
<% if @categories.any? %> <h2><%= t('.title') %></h2> <ul id="categories"> <% @categories.each do |category| %> <%= content_tag(:li, class: ('selected' if @category.present? && @category.id == category.id)) do %> <%= link_to "#{category.title} (#{category.post_count})", refinery.blog_category_path(category) %> <% end %> <% end %> </ul> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-blog-4.0.0 | app/views/refinery/blog/shared/_categories.html.erb |