django-crispy-forms / django-crispy-forms/crispy-bootstrap5
Label class for AppendedText built incorrectly when form_class is not form-horizontal
Open
- 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.