%= div_for item, class: item.item_category.name do %> <% if item.user == user %><%= link_to 'Delete', item_path(item), :class => 'delete', :confirm => 'Delete this topic and all synapses linking to it?', :method => :delete, :remote => true%><% end %>
<%= item.item_category.name %>
<%= image_tag item.item_category.icon, :class => 'icon', :size => '50x50' %><%=item.desc %>