blob: d7524efcc0ba71cd9160d46fda3bec3feaa47c70 (
plain) (
tree)
|
|
<% 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})", main_app.refinery_blog_category_path(category) %>
</li>
<% end %>
</ul>
<% end %>
|