- if category
%li{id: category.id}
%a= category
%ul
= render partial: 'category', collection: category.children.to_a