plataformatec/simple_form — pull request #347 by mfila (2011-10-11 17:56:06+00:00)
Title: Make the HTML generated for collection fields valid

By removing the `for` attribute from radio and check box collection main labels using a regular expression. The attribute is not removed if overwritten using `:label_html` even if this is perhaps useless.

A quick and dirty solution! I don't know SimpleForm enough to be sure it is completely safe, but it works for my forms.