search for: show_other

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

Did you mean: _show_other
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 } e...