<%= @item.item_category.name %>
<%= image_tag @item.item_category.icon, :class => 'icon' %>
Link
<%= link_to @item.link, @item.link, :class => 'link' %>
<% @gparents.each do |group| %>
<%= render group %>
<% end %>
<% if @gparents.empty? %>
Shucks, there are no groups.
<% end %>
<% @pparents.each do |person| %>
<%= render person %>
<% end %>
<% if @pparents.empty? %>
Shucks, there are no people.
<% end %>
<% @iparents.each do |item| %>
<%= render item %>
<% end %>
<% if @iparents.empty? %>
Shucks, there are no items.
<% end %>
<% @ichildren.each do |item| %>
<%= render item %>
<% end %>
<% if @ichildren.empty? %>
Shucks, there are no items.
<% end %>