kopia lustrzana https://github.com/wagtail/wagtail
update docs for TabbedInterface (#5374)
rodzic
e263aaf749
commit
a19571db7a
|
@ -391,6 +391,7 @@ Contributors
|
|||
* Sanyam Khurana
|
||||
* Pavel Denisov
|
||||
* Mikael Engström
|
||||
* Zac Connelly
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
@ -56,7 +56,10 @@ Or alternatively:
|
|||
]
|
||||
edit_handler = ObjectList(custom_panels)
|
||||
# or
|
||||
edit_handler = TabbedInterface([ObjectList(custom_panels), ObjectList(...)])
|
||||
edit_handler = TabbedInterface([
|
||||
ObjectList(custom_panels, heading='First Tab'),
|
||||
ObjectList(...)
|
||||
])
|
||||
|
||||
|
||||
.. versionadded:: 2.5
|
||||
|
|
Ładowanie…
Reference in New Issue