Person

<%= image_tag "person.png", :class => 'icon', :size => '50x50' %>

<%= @person.name %> <%= link_to "[edit]", edit_person_path(@person) %>

<%= @person.desc %>

Location

<%= @person.city %><% if @person.city != "" && @person.province != "" %>, <% end %><%= @person.province %><% if (@person.city != "" || @person.province != "") && @person.country != "" %>, <% end %><%= @person.country %> <% if (@person.city == "" && @person.province == "" && @person.country == "") %>Earth<% end %>

Link

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

Shucks, there are no groups.

<% end %>
<%= @person.name %> is connected to these people
<%= @person.name %> includes these items
<% @ichildren.each do |item| %> <%= render item %> <% end %> <% if @ichildren.empty? %>

Shucks, there are no items.

<% end %>