diff --git a/cookbook/015/hodgepodge/app/views/list/_new_item_form.html.erb b/cookbook/015/hodgepodge/app/views/list/_new_item_form.html.erb new file mode 100644 index 0000000..6337696 --- /dev/null +++ b/cookbook/015/hodgepodge/app/views/list/_new_item_form.html.erb @@ -0,0 +1,4 @@ +<%= form_tag :action => 'new' do %> + Item: <%= text_field "item", "value" %> + <%= submit_tag "Add new item" %> +<% end %> diff --git a/cookbook/015/hodgepodge/app/views/list/shopping_list.html.erb b/cookbook/015/hodgepodge/app/views/list/shopping_list.html.erb index b28181b..ae9d336 100644 --- a/cookbook/015/hodgepodge/app/views/list/shopping_list.html.erb +++ b/cookbook/015/hodgepodge/app/views/list/shopping_list.html.erb @@ -8,9 +8,4 @@ <% end %> -