collaps admin
This commit is contained in:
parent
707ef2292f
commit
4bfb11bdd3
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,7 @@ class EquipmentRevisionExtraInline(admin.TabularInline):
|
||||||
extra = 0
|
extra = 0
|
||||||
form = IdForm
|
form = IdForm
|
||||||
formset = IdFormset
|
formset = IdFormset
|
||||||
|
classes = ['collapse']
|
||||||
|
|
||||||
|
|
||||||
class EquipmentRemarkExtraInline(admin.TabularInline):
|
class EquipmentRemarkExtraInline(admin.TabularInline):
|
||||||
|
@ -43,6 +44,7 @@ class EquipmentRemarkExtraInline(admin.TabularInline):
|
||||||
extra = 0
|
extra = 0
|
||||||
form = IdForm
|
form = IdForm
|
||||||
formset = IdFormset
|
formset = IdFormset
|
||||||
|
classes = ['collapse']
|
||||||
|
|
||||||
class CharFieldModelAdmin(admin.ModelAdmin):
|
class CharFieldModelAdmin(admin.ModelAdmin):
|
||||||
list_display = ['name']
|
list_display = ['name']
|
||||||
|
|
Loading…
Reference in a new issue