I found that when I tried to create checkboxes with string values, some of the labels weren't clickable. It's because for values that had spaces in them, the IDs generated for the checkbox inputs also had spaces in them. I fixed it by copying some code from a private method in FormTagHelper.
Fixed bug in #checks when values contain spaces.
but label_tag does, so the input's ID was invalid and also different
from the label's FOR attribute.
Allow views to access checkbox text/value directly.
Useful if you need to represent more information about each choice
than just the label and the input.
Merge branch 'master' of https://github.com/ernie/meta_search
Merge remote-tracking branch 'rafaeldx7/master'