metamaps--metamaps/app/views/items/_item.html.erb
2012-10-03 21:40:26 -04:00

7 lines
No EOL
326 B
Text

<%= div_for item do %>
<p class="type"><%= item.item_category.name %></p>
<%= image_tag item.item_category.icon, :class => 'icon', :size => '50x50' %>
<%= link_to item.name, item_url(item), :class => 'title' %>
<div class="desc"><p><%=item.desc %></p></div>
<%= link_to item.link, item.link, :class => 'link' %>
<% end %>