raven/views/item/list.erb

8 lines
133 B
Plaintext

<p><a href="/item/create">Create new item</a></p>
<ul>
<% items.each do |item| %>
<li><%= item.name %></li>
<% end %>
</ul>