Group
<%= image_tag "group.png", :class => 'icon' %>
Link
<%= link_to @group.link, @group.link, :class => 'link' %>
<% @gparents.each do |group| %>
<%= render group %>
<% end %>
<% if @gparents.empty? %>
Shucks, there are no groups.
<% end %>
<% @gchildren.each do |group| %>
<%= render group %>
<% end %>
<% if @gchildren.empty? %>
Shucks, there are no groups.
<% end %>
<% @pchildren.each do |people| %>
<%= render people %>
<% end %>
<% if @pchildren.empty? %>
Shucks, there are no people.
<% end %>
<% @ichildren.each do |item| %>
<%= render item %>
<% end %>
<% if @ichildren.empty? %>
Shucks, there are no items.
<% end %>