Skip to content

Label class for AppendedText built incorrectly when form_class is not form-horizontal #184

Open
@yuriiz

Description

When AppendedText is included in form which class it not "form-horizontal", it's label class becomes "form-label{{ label_class }}" while it should be "form-label {{ label_class }} due to bug in https://github.com/django-crispy-forms/crispy-bootstrap5/blob/main/crispy_bootstrap5/templates/bootstrap5/layout/prepended_appended_text.html#L9.

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