Skip to content

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

@nbelakovski-mssm

Description

@nbelakovski-mssm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions