Group

<%= image_tag "group.png", :class => 'icon' %>

<%= @group.name %> <%= link_to "[edit]", edit_group_path(@group) %>

<%= @group.desc %>

Link

<%= link_to @group.link, @group.link, :class => 'link' %>
<%= @group.name %> is included in these groups
<% @gparents.each do |group| %> <%= render group %> <% end %> <% if @gparents.empty? %>

Shucks, there are no groups.

<% end %>
<%= @group.name %> includes these groups
<% @gchildren.each do |group| %> <%= render group %> <% end %> <% if @gchildren.empty? %>

Shucks, there are no groups.

<% end %>
<%= @group.name %> includes these people
<% @pchildren.each do |people| %> <%= render people %> <% end %> <% if @pchildren.empty? %>

Shucks, there are no people.

<% end %>
<%= @group.name %> includes these items
<% @ichildren.each do |item| %> <%= render item %> <% end %> <% if @ichildren.empty? %>

Shucks, there are no items.

<% end %>