mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-11 08:43:10 +00:00
added FieldRowPanel from @kaedroho 5dc7a220f8799a7c6871b119724f7e07cb54f4fb
This commit is contained in:
parent
7f72bdd917
commit
553e7062b6
1 changed files with 11 additions and 0 deletions
|
|
@ -454,6 +454,17 @@ def ObjectList(children, heading=""):
|
|||
})
|
||||
|
||||
|
||||
class BaseFieldRowPanel(BaseCompositeEditHandler):
|
||||
template = "wagtailadmin/edit_handlers/field_row_panel.html"
|
||||
|
||||
|
||||
def FieldRowPanel(children, classname=None):
|
||||
return type('_FieldRowPanel', (BaseFieldRowPanel,), {
|
||||
'children': children,
|
||||
'classname': classname,
|
||||
})
|
||||
|
||||
|
||||
class BaseMultiFieldPanel(BaseCompositeEditHandler):
|
||||
template = "wagtailadmin/edit_handlers/multi_field_panel.html"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue