django-bootstrap4
django-bootstrap4 copied to clipboard
Bootstrap 4 integration with Django.
See https://code.djangoproject.com/ticket/32338 I believe the described issue would still exist in this library even if it gets fixed in django.
 I want them the forms errors to be shown like layout="horizontal" mode 
``` class MaterialRequest(models.Model): material_name = models.CharField(max_length = 50) quantity = models.FloatField() date_required_by = models.DateTimeField() ``` and ``` class MaterialRequestForm(forms.ModelForm): class Meta: model = MaterialRequest ``` how to add datepicker template...
See also: https://caniuse.com/#feat=form-submit-attributes This would be awesome considering that `form` elements are not allowed to be nested. For constructing a formset with some buttons that do something with individual objects...
I change to bootstrap4 from bootstrap3. I have a filter form on top of a table, rendered with ``` {% if filter %} {% bootstrap_form filter.form layout='inline' %} {% bootstrap_button...
This is my first PR to this library, I've followed the contributing guidelines to the best of my knowledge but any feedback is appreciated.
Similar to https://github.com/dyve/django-bootstrap3/issues/414, the show_label=False directive is ignored for checkbox fields. {% bootstrap_field editabletext_form.DELETE layout="horizontal" show_label=False %} renders Delete Whilst the first `` is fine, should sr-only be supported...
Hello, This code don't show correctly. `{% bootstrap_field field layout="inline" addon_before=somelabel size="small" %}` Inputs are corrects sur the div's class in "input-group" and not "input-group input-group-sm" there is a mission...
In `bootstrap4/templatetags/bootstrap4.py`, there's a function `bootstrap_message_classes` which figures out what classes to assign to a Bootstrap Alert generated from a Django message. Right now, it makes the obvious mappings, except...
Since URLField is rendered as \< input \>, one would expect addon_before / addon_after to work the same as for CharField or IntegerField, but currently it does not