Skip to content

Improve bootstrap integration with collection and boolean inputs#421

Merged
carlosantoniodasilva merged 8 commits into
masterfrom
collection-item-wrapper
Jan 30, 2012
Merged

Improve bootstrap integration with collection and boolean inputs#421
carlosantoniodasilva merged 8 commits into
masterfrom
collection-item-wrapper

Conversation

@carlosantoniodasilva

Copy link
Copy Markdown
Member

Sanity checking...

…eck boxes

Add :item_wrapper_class option to collection helpers and SimpleForm
itself.
Makes the API more consistent with :check_boxes, and improves
compatibility with bootstrap collections by avoiding :radio namespace
collision.
Use original config for backwards compatibility, and force label as item
wrapper tag in collection radio buttons / check boxes when using nested
boolean, to match boostrap requirements.
@rafaelfranca

Copy link
Copy Markdown
Collaborator

:shipit:

@josevalim

Copy link
Copy Markdown
Contributor

👍

carlosantoniodasilva added a commit that referenced this pull request Jan 30, 2012
Improve bootstrap integration with collection and boolean inputs
@carlosantoniodasilva carlosantoniodasilva merged commit 7bcd224 into master Jan 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants