Displaying 1 result from an estimated 1 matches for "patial_two".
2011 Apr 29
2
change patial with change of the item in a select_tag
...t;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
To unsubscribe from this group, send email to rubyonrails-...