search for: rend_part

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

Did you mean: find_part
2011 Apr 29
2
change patial with change of the item in a select_tag
hi, i would like to change a partial in my view with the change of the item in a select_tag: in the view: <%= observe_field("payment_id", :url => {:controller =>''user_admins'' ,:action => ''rend_part''},:on => ''change'', :frequency => 0.1) %> <%= select( "payment", "id", { "Visa" => "1", "Mastercard" => "2"}) %> in controller : def rend_part if params[:payment][''id'']...