style of m2m readonly_fields in admin change_form
|Reported by:||benc||Owned by:|
|Severity:||Normal||Keywords:||admin, readonly_fields, m2m|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When setting readononly_fields on a m2m field we get a comma separate list of the m2m objects.
I think that it's easier to read when each object is in a newline.
At least, each object can be wrapped with a <span class="readonly-m2m-item"> so it will be possible to style it.
Change History (11)
comment:1 Changed 5 years ago by russellm
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Design decision needed