Displaying 1 result from an estimated 1 matches for "_other_status".
2006 Feb 27
0
Example code for select_from_db (a.k.a. combo box)
...:method => "#{method}",
:uniqid => "#{uniqid}"
},
:with => "''value=''+escape(value)")
output << content_tag(''span'', '''',
html_options = { :id => "#{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", :l...