Hello,
Rails provides view helpers for creating such input fields
following helper method creates radio button
*radio_button*(object_name, method, tag_value, options = {})
for more information look at rails helper API doc at
http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.htm
Hello friends,
Can u plz tell me how we can add radio buttons in the view?
--
Posted via http://www.ruby-forum.com/.
--
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-t...@googlegroups.com.
2 matches
Mail list logo