Hey guys, I have a loop that generates multiple radio buttons, here's the code: <% checked = true %> <% for address in @customer.addresses %> <%= radio_button_tag("address", address.id, checked = checked) %> <% checked = false %> <% end %> <%= link_to 'Confirm Order >>', :controller => 'store', :action => 'confirm_order', :customer_id => @customer , :address_id = ????? %> How can I pass the selected address button to the controller ??
on 2007-02-23 04:01
on 2007-02-23 04:44
nvm .. I found the problem :)
on 2007-02-23 05:01
Swaraj Shergill wrote: > nvm .. I found the problem :) Please tell us what the solution was. Otherwise, you just left a false trail in the archives. They are important because nothing else documents most of the hard details around here! -- Phlip http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
on 2007-03-31 18:21
please send me the solution cz i face the same proplem & please copy the mail to my private mail cz i dont check the group On Feb 23, 5:01 am, Swaraj Shergill <rails-mailing-l...@andreas-s.net>
on 2007-04-02 02:33