I have the following radio button in my code:
<%= radio_button_tag("single_or_collection", "single", checked = true, options = {:id => "isSingle"}) %>Single <%= radio_button_tag("single_or_collection", "collection", checked = false, options = {:id => "isCollection"}) %>Collection
The "single" button is checked correctly on initial page load.
If however I check "collection" using the mouse and then reload the page, "collection" is still checked.
I'd like "single" to be checked whenever this page is loaded. Am I doing something wrong?
Thanks.