blob: 305e731645d481d6cee80f6020676f561f3a0669 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
<h2><%= t('.title') %></h2>
<ul id='categories'>
<% @blog_categories.each do |category| %>
<li<%= " class='selected'" if @category.present? and @category.id == category.id %>>
<%= link_to "#{category.title} (#{category.post_count})", blog_category_url(category) %>
</li>
<% end %>
</ul>
|