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