<% if topic.user == user %><%= link_to 'Delete', topic_path(topic), :class => 'delete', :confirm => 'Delete this topic and all synapses linking to it?', :method => :delete, :remote => true%><% end %>
<%= topic.metacode.name %>
<%= image_tag topic.metacode.icon, :class => 'icon', :size => '50x50' %>
<%=topic.name %>
<% if (authenticated? && topic.permission == "commons") || topic.user == user %>
[go]
<%=topic.link %>
<% else %>
<%= topic.link %>
<% end %>
<% end %>