.node{:id => "#{node.id}"}
  %h3= link_to node.name, node
  .info
    - unless node.node_classes.empty?
      %h4 Classes:
      %p= node.all_classes.map{|cl| link_to cl.name, cl}.to_sentence
    - unless node.node_groups.empty?
      %h4 Groups:
      %p= node.node_groups.map{|gr| link_to gr.name, gr}.to_sentence
    - unless node.parameters.blank?
      %h4 Parameters:
      = inspector_table node.parameters, :key, :value, :link => false
  .actions
    = link_to "Edit", edit_node_path(node), :class => "edit"
    - unless node.node_classes.empty? && node.node_groups.empty? && node.parameters.blank?
      = link_to "<span class='response'>Show</span> Details", "##{node.id}", :class => "collapsible-trigger"
