Opened 3 weeks ago
Closed 3 weeks ago
#36788 closed Bug (worksforme)
horizontal alignment of fields in admin change not working in 6.0
| Reported by: | Ronald Ligteringen | Owned by: | |
|---|---|---|---|
| Component: | contrib.admin | Version: | 6.0 |
| Severity: | Normal | Keywords: | horizontal alignment fields admin |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | yes |
Description
To horizontally align fields in the admin change page you can combine these fields in a tuple, like this:
fields = ["name", ("age", "gender"), "nationality"]
In this example, the change screen would show something like this:
name:
age: gender:
nationality:
This works great in version 5, however this is not working in 6.0. This will show all fields vertically like this:
name:
age:
gender:
nationality:
Note:
See TracTickets
for help on using tickets.
Works fine for me with 6.0. Do you have a reproducer?