Display bootstrap element in django-forms

You may want to create a custom template for that widget - it’s likely going to be easier than trying to force-create a set of nested divs in crispy with different class attribute settings.

This recent post may provide you with some ideas - Customize how ModelForm renders ImageField?

3 Likes