metamaps--metamaps/app/views/items/index.html.erb
2012-10-26 06:04:52 -04:00

15 lines
No EOL
302 B
Text

<h1>Topics</h1>
<div class="items" id="cards">
<% @items.each do |item| %>
<%= render item %>
<% end %>
<% if @items.empty? %>
<p><br>Shucks, there are no topics.<p>
<% end %>
</div>
<div class="clearfloat"></div>
<% if authenticated? %>
<%= render :partial => 'items/new' %>
<% end %>