code-mancers/rapidfire — pull request #39 by sandrew (2014-12-17 11:24:48+00:00)
Title: Proper label and input ids for checkbox and radios with non-sanitized values

Before now label ids and input ids for checkbox and radios inputs were messed of unsanitized option values and sanitized values, that was a nightmare if you had some punctuation or non-latin symbols in options.
This commit fixes it.
It looks a little tricky, but I don't see a more simple and cleaner way without including something like `simple_form`.