Opened 7 months ago
Last modified 2 months ago
#35386 closed Bug
Incorrect checkbox help text alignment in multi-field rows — at Initial Version
Reported by: | Adam Johnson | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | 4.2 |
Severity: | Normal | Keywords: | |
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: | yes |
Description
For a single checkbox, styles align the help under the checkbox:
...
When the checkbox appears with any other field in the same line, this is undone:
...
Example admin:
from django.contrib import admin from example.models import Switcher class SwitcherAdmin(admin.ModelAdmin): fieldsets = [ ( None, { "fields": [ ("up", "down"), ], }, ), ] admin.site.register(Switcher, SwitcherAdmin)
(It doesn’t matter if the other field is a checkbox or not.)
Note:
See TracTickets
for help on using tickets.
single-correct