Sha256: ba3487cef9424157519249688c3f8f7601ae4b03f0bf77b9de885dabf898d714

Contents?: true

Size: 361 Bytes

Versions: 7

Compression:

Stored size: 361 Bytes

Contents

<% if @categories.any? %>
  <h2><%= t('.title') %></h2>
  <ul id='categories'>
    <% @categories.each do |category| %>
      <li<%= " class='selected'" if @category.present? and @category.id == category.id %>>
        <%= link_to "#{category.title} (#{category.post_count})", refinery.blog_category_path(category) %>
      </li>
    <% end %>
  </ul>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
refinerycms-blog-2.1.0 app/views/refinery/blog/shared/_categories.html.erb
refinerycms-blog-2.0.5 app/views/refinery/blog/shared/_categories.html.erb
refinerycms-blog-2.0.4 app/views/refinery/blog/shared/_categories.html.erb
refinerycms-blog-2.0.3 app/views/refinery/blog/shared/_categories.html.erb
refinerycms-blog-2.0.2 app/views/refinery/blog/shared/_categories.html.erb
refinerycms-blog-2.0.1 app/views/refinery/blog/shared/_categories.html.erb
refinerycms-blog-2.0.0 app/views/refinery/blog/shared/_categories.html.erb