Opened 21 months ago
Last modified 20 months ago
#34383 closed Bug
Layout error in Admin when using help_text — at Initial Version
Reported by: | Antonio Candido Nazareth junior | Owned by: | nobody |
---|---|---|---|
Component: | Template system | Version: | 4.2 |
Severity: | Release blocker | Keywords: | help_text |
Cc: | Tom Carrick | Triage Stage: | Ready for checkin |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I'm using Django 4.2b1 and found a problem with the Django admin layout when I use the help_text in model admin. The help_text in the Admin form appears on a separate line and breaks the alignment of the fields. This happens in every browser I've tested.
Create a model with two or more fields that have help_text defined with a size larger than the field name. Register this model in admin.py with ModelAdmin and put them on the same line using fieldsets giving name to the line. Access the edit page of this model in Django admin and observe the layout.
Expected result:
The help_text should appear below the corresponding field, without affecting the alignment of the other fields.
Print erro on Django Version 4.2b1