django-bootstrap5 icon indicating copy to clipboard operation
django-bootstrap5 copied to clipboard

bootstrap_label does not work with bootstrap_field for layout='horizontal'

Open nbelakovski-mssm opened this issue 7 months ago • 0 comments

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.

nbelakovski-mssm avatar Jul 01 '24 21:07 nbelakovski-mssm