- if node
%li{id: node.id}
%a
= link_to node, url_for(node.symbols.first)
%ul
= render partial: 'node', collection: node.children.to_a