<%= div_for topic, class: topic.metacode.name do %> <% 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' %>
<%= link_to topic.name, topic_path(topic), :class => 'title' %>

<%=topic.desc %>

<%= link_to topic.link, topic.link, :class => 'link', :target => '_blank' %> <% end %>