Bug #444 ยป cgi_radio_group.patch
lib/cgi.rb (Arbeitskopie) | ||
---|---|---|
if value.kind_of?(String)
|
||
radio_button(name, value) + value
|
||
else
|
||
if value[value.size - 1] == true
|
||
radio_button(name, value[0], true) +
|
||
if value[value.size - 1] == true || value[value.size - 1] == false
|
||
radio_button(name, value[0], value[value.size - 1]) +
|
||
value[value.size - 2]
|
||
else
|
||
radio_button(name, value[0]) +
|