%= div_for map do %> <% if map.user == user %><%= link_to 'Delete', map_path(map), :class => 'delete', :confirm => 'Delete this map (nodes and synapses will remain)?', :method => :delete, :remote => true %><% end %>
Map
<%= image_tag 'map.png', :class => 'icon', :size => '50x50' %> <%=map.name %><%= map.topics.count %> topics and <%= map.synapses.count %> synapses
<%= map.desc %>