My shopping list
<% @list.each do |item| %>
- <%= item.name %>
<%= link_to 'Delete', {:action => 'delete', :id => item.id} %>
<% end %>
Add new item
<%= form_tag :action => 'new' do %>
<%= text_field "product", "name" %>
<%= submit_tag "Add new item" %>
<% end %>