metamaps--metamaps/app/views/items/_item.html.erb

7 lines
347 B
Text
Raw Normal View History

2012-09-23 02:39:12 +00:00
<%= div_for item do %>
2012-09-24 01:30:48 +00:00
<p class="type"><%= item.item_category.name %></p>
2012-10-04 01:40:26 +00:00
<%= image_tag item.item_category.icon, :class => 'icon', :size => '50x50' %>
2012-09-23 02:39:12 +00:00
<%= link_to item.name, item_url(item), :class => 'title' %>
2012-09-24 01:30:48 +00:00
<div class="desc"><p><%=item.desc %></p></div>
<%= link_to item.link, item.link, :class => 'link', :target => '_blank' %>
2012-09-23 02:39:12 +00:00
<% end %>