mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-11 08:43:10 +00:00
update docs for TabbedInterface (#5374)
This commit is contained in:
parent
e263aaf749
commit
a19571db7a
2 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue