% if obj.visible %>
<%= render :partial => 'map', :locals => { :type => type, :id => obj.id } %>
<% else %>
Deleted
<% end %>
<% if obj.visible %>
- <%= link_to h("API"), :controller => type, :action => "read", :id => obj.id %>
<% end %>
- <%= link_to h("History"), :controller => "old_" + type, :action => "history", :id => obj.id %>
(<%= link_to h("HTML"), :action => type+"_history", :id => obj.id %>)
<%= render :partial => 'common_editedby', :locals => { :obj => obj } %>