search for: _line_form

Displaying 1 result from an estimated 1 matches for "_line_form".

2006 Apr 07
3
RJS removing content of div, but not div itself
...f add_item @ingredient = Ingredient.new @ingredient.name = params[:name] @ingredient.qty = params[:qty] @ingredient.save render(:partial => ''line_form'') end def delete Ingredient.find(params[:id]).destroy render(:partial => ''remove_line_form'' ) end end -------------------- index.rhtml ------------------------------ <html> <head> <title>Ingredient list</title> <%= javascript_include_tag "prototype" %> <%= stylesheet_link_tag "listdemo", :media => &quo...