Radio Button, Boolean Selection
Join the DZone community and get the full member experience.
Join For Free// radio buttons generated with form helper
// selection by boolean
// attention interger numbers (0, 1) don't work
- Owner over 18?
-
<%= radio_button( :guarantor, :over_eighteen.to_s, true )%> Yes
<%= radio_button( :guarantor, :over_eighteen, false )%> No
Opinions expressed by DZone contributors are their own.
Comments