#36069: When can_delete is set to False in TabularInline, the position of the
remove (X) button for the InlineForm is different.
-------------------------------+-----------------------------------------
Reporter: Antoliny | Type: Bug
Status: new | Component: contrib.admin
Version: dev | Severity: Normal
Keywords: TabularInline | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+-----------------------------------------
{{{
class CommentInline(admin.TabularInline):
model = Comment
extra = 1
can_delete = False
class TagInline(admin.TabularInline):
model = Tag
extra = 1
class PostAdmin(admin.ModelAdmin):
inlines = [CommentInline, TagInline]
}}}
When can_delete is set to False in TabularInline, remove button of the
InlineForm moves to the bottom (it should be at the top originally).
[[Image(tabular_inline_delete_button.png)]]
--
Ticket URL: <https://code.djangoproject.com/ticket/36069>
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/010701944078e437-1f876dfb-d3cd-41e1-90f2-27f21d1cf7f0-000000%40eu-central-1.amazonses.com.