jrief / django-angular

Let AngularJS play well with Django
http://django-angular.awesto.com/
MIT License
1.23k stars 294 forks source link

Horizontal-form are not rendered correctly. #217

Closed adrienbrunet closed 7 years ago

adrienbrunet commented 8 years ago

To have a bootstrap horizontal form, we can add class="form-horizontal" to the <form...> html. Then, in our form, we may add:

field_css_classes = {
    '*': 'form-group has-feedback col-md-12 col-xs-12',
}
label_css_classes = "control-label col-xm-2 col-md-2"
widget_css_classes = "col-md-10 col-xs-10"

If we try this with the demo application, we then have several problems:

jrief commented 7 years ago

Please retry with the current version. The form shall be marked as Bootstrap3.