#36498: Inline button to add first / only related instance should say "Add ...",
not "Add another ..."
-------------------------------------+-------------------------------------
Reporter: Denis Washington | Type: Bug
Status: new | Component:
| contrib.admin
Version: 5.2 | Severity: Normal
Keywords: inline | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
In the default `InlineModelAdmin` templates, the button to add a related
model instance always says "Add another X", even when
- there is no other related instance (e.g., if `extra=0` or the last
related instance was deleted)
- if it's not even possible to add multiple related instances (e.g.,
`OneToOneField`)
In these cases, I would expect the button to say "Add X" (without
"another") instead.
--
Ticket URL: <https://code.djangoproject.com/ticket/36498>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070197e4b02046-0704cbb4-c878-43b7-88e8-3865b3143145-000000%40eu-central-1.amazonses.com.