- if category then
%li{:id => category.id}
%a
= link_to "#{category.name.gsub(/_/, ' ')} (#{category.related_ontologies.count})", category
%ul
= render :partial => 'category', :collection => category.children.to_a