django-bootstrap-form icon indicating copy to clipboard operation
django-bootstrap-form copied to clipboard

Support for inline checkboxes

Open troygrosfield opened this issue 11 years ago • 2 comments

I don't currently see a way for inline checkboxes:

  • http://getbootstrap.com/css/#forms-controls

Any way we can get that support added. Also, allowing the ability to pass a class to the top level of the form group (when the class "form-group" is) would help our styling + js functionality immensely!

  • https://github.com/tzangms/django-bootstrap-form/blob/master/bootstrapform/templates/bootstrapform/field.html#L3

troygrosfield avatar Jan 13 '14 19:01 troygrosfield

And .radio-inline I need it too.

yn-coder avatar Dec 29 '14 07:12 yn-coder

I do it very simple:

  1. coping the \Python33\Lib\site-packages\bootstrapform\templates\bootstrapform\ to my project templates
  2. overwriting <div class="radio"> tag to <div class="radio-inline"> in field.html template

Now all radio groups are inline - thats ok for my project.

yn-coder avatar Dec 29 '14 08:12 yn-coder