%= content_tag_for(:li, category) do %>
<%= category.label %>
- <%= link_to t('.new_forum'), new_admin_category_forum_path(category) %>
- <%= link_to t('.edit'), edit_admin_category_path(category) %>
- <%= link_to t('.destroy'), [:admin, category], :method => :delete %>
<% if category.forums.blank? %>
- no forums
<% else %>
<%= render category.forums, :category => category %>
<% end %>
<% end %>