Stephen Touset

Results 91 comments of Stephen Touset

Hm. This actually is somewhat of an issue. Twitter Bootstrap only styles errors with a red highlight if wrapped with a div having a class "clearfix". But the clearfix divs...

The reason for the `TOGGLES` abstraction is because the code to generate a list of checkboxes and radio buttons has been identical... so far, at least. With radio buttons, it...

Any further ideas on this issue? I'm in a holding pattern until I have a better idea of how to solve it.

I'll hold off on anything for the time being.

I'm gravitating towards not supporting these. My suspicion is that having errors on checkboxes or radio buttons is probably just bad UI. In the classic example of "You must agree...

I just played around with errors for checkboxes and radio buttons on the latest Bootstrap examples available. It looks like the only styling that works is to add an "error"...

From the [Rails documentation](http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-check_box), you probably need to be using `check_box_tag` for array-type checkboxes anyway.

Ok. I plan on doing as I said above: support this for radio buttons, but not currently for checkboxes. Will try to get a patch out this weekend.

Fair enough. Issue a pull request and I'll merge it in.

2.0 is going to be released soon. Kind of in a holding pattern until it comes out.