search for: patial_one

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

Did you mean: partial_done
2011 Apr 29
2
change patial with change of the item in a select_tag
...=> 0.1) %> <%= select( "payment", "id", { "Visa" => "1", "Mastercard" => "2"}) %> in controller : def rend_part if params[:payment][''id''] == ''1'' render :partial => "patial_one" else render :partial => "patial_two" end end -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org...