search for: show_oth

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

Did you mean: show_op
2006 Feb 27
0
Example code for select_from_db (a.k.a. combo box)
...;#{tag}_other_status" }) output << "</div>" end ==== app/controllers/assets_controller.rb ==== def updateform case params[:field] when "select" case params[:value] when "other" render :partial => "show_other", :locals => { :params => @params } else render :partial => "hide_other", :locals => { :params => @params } end when "other" render :partial => "hide_other", :locals => { :params => @params }...