You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<h2>My shopping list</h2>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<% @list.each do |item| %>
|
|
|
|
<li><%= item.name %>
|
|
|
|
<%= link_to 'Delete', {:action => 'delete', :id => item.id} %>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<%= render :partial => 'new_item_form' %>
|