django-bootstrap5
django-bootstrap5 copied to clipboard
bootstrap_label does not work with bootstrap_field for layout='horizontal'
Pretty much the title. I want to have a custom label, but bootstrap_field has no option for custom label text, and bootstrap_label doesn't get linked with bootstrap_field to achieve a horizontal layout.
I suppose it's possible to set the label in the Python form, but I'm trying to keep as much of my presentation stuff in the template as possible.
I've worked around it for now by essentially manually creating the form with the div classes as recommended on the bootstrap site for forms.