search for: line_form

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

Did you mean: linea_form
2006 Apr 07
3
RJS removing content of div, but not div itself
...oller def index session[:toggle_color] = 1 # used to create a ''green-bar paper'' effect end def 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> &...