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

13 lines
271 B
Text
Raw Normal View History

2012-10-18 00:51:54 +00:00
<h1>All Topics</h1>
2012-09-23 02:39:12 +00:00
<div class="items" id="cards">
2012-09-23 02:39:12 +00:00
<% @items.each do |item| %>
<%= render item %>
<% end %>
<% if @items.empty? %>
2012-10-18 00:51:54 +00:00
<p><br>Shucks, there are no topics.<p>
2012-09-23 02:39:12 +00:00
<% end %>
</div>
<div class="clearfloat"></div>
<%= render :partial => 'items/new' %>