Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootstrap3 form-horizontal: CheckboxInput not properly rendered #267

Closed
mrechte opened this issue Nov 10, 2013 · 5 comments
Closed

bootstrap3 form-horizontal: CheckboxInput not properly rendered #267

mrechte opened this issue Nov 10, 2013 · 5 comments

Comments

@mrechte
Copy link

mrechte commented Nov 10, 2013

Setting:
self.helper.form_class = 'form-horizontal'
self.helper.label_class = 'col-md-3'
self.helper.field_class = 'col-md-9'

Does not render check boxes in the expected column. This is the wrong rendered layout for a check box:

Publique

Not conform to http://getbootstrap.com/css/#forms

Thanks

@mrechte
Copy link
Author

mrechte commented Nov 12, 2013

Please see my comment in Issue #225

@Eyjafjallajokull
Copy link

Dirty hack is to set
self.helper.label_size = ' col-sm-offset-3'

maraujop added a commit that referenced this issue Feb 2, 2014
Fixes #225 and #267

Thanks to @pySilver for proposing a patch for `field.html` template.
@maraujop
Copy link
Contributor

maraujop commented Feb 2, 2014

Thanks @mrechte for reporting this problem.

I've pushed a patch for it in dev branch, future 1.5.0 version. I've tested it and it fixes the alignment issues for all device sizes.

Cheers,
Miguel

@larseggert
Copy link

Any ETA on 1.5.0? That fix would be nice to have.

@carltongibson
Copy link
Collaborator

Closing this in favour of #452. Please follow along there.

(If you still have this problem after the new release, shout and we can reopen)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants