django-crispy-forms / django-crispy-forms/crispy-bootstrap5

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

Open
#184 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
525
Forks
77
Avg merge
1d 1h
Merged PRs (30d)
2

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.