Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yuriiz opened this issue Jul 28, 2024 · 0 comments

Comments

@yuriiz
Copy link

yuriiz commented Jul 28, 2024

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.

yuriiz pushed a commit to yuriiz/crispy-bootstrap5 that referenced this issue Jul 28, 2024
yuriiz pushed a commit to yuriiz/crispy-bootstrap5 that referenced this issue Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant