Collapsible article panels
This commit is contained in:
parent
f0ffc1dc24
commit
4b8a226e45
1 changed files with 12 additions and 6 deletions
|
@ -173,17 +173,20 @@ class ArticlePage(Page):
|
||||||
MultiFieldPanel([
|
MultiFieldPanel([
|
||||||
FieldPanel('title'),
|
FieldPanel('title'),
|
||||||
FieldPanel('intro_de'),
|
FieldPanel('intro_de'),
|
||||||
], heading="Deutsch"),
|
], heading="Deutsch",
|
||||||
|
classname="collapsible collapsed"),
|
||||||
StreamFieldPanel('body_de'),
|
StreamFieldPanel('body_de'),
|
||||||
MultiFieldPanel([
|
MultiFieldPanel([
|
||||||
FieldPanel('title_fr'),
|
FieldPanel('title_fr'),
|
||||||
FieldPanel('intro_fr'),
|
FieldPanel('intro_fr'),
|
||||||
], heading="Français"),
|
], heading="Français",
|
||||||
|
classname="collapsible collapsed"),
|
||||||
StreamFieldPanel('body_fr'),
|
StreamFieldPanel('body_fr'),
|
||||||
MultiFieldPanel([
|
MultiFieldPanel([
|
||||||
FieldPanel('title_en'),
|
FieldPanel('title_en'),
|
||||||
FieldPanel('intro_en'),
|
FieldPanel('intro_en'),
|
||||||
], heading="English"),
|
], heading="English",
|
||||||
|
classname="collapsible collapsed"),
|
||||||
StreamFieldPanel('body_en'),
|
StreamFieldPanel('body_en'),
|
||||||
MultiFieldPanel([
|
MultiFieldPanel([
|
||||||
ImageChooserPanel('feed_image'),
|
ImageChooserPanel('feed_image'),
|
||||||
|
@ -255,17 +258,20 @@ class HomePage(Page):
|
||||||
FieldPanel('intro_de', classname="full"),
|
FieldPanel('intro_de', classname="full"),
|
||||||
FieldPanel('body_de', classname="full"),
|
FieldPanel('body_de', classname="full"),
|
||||||
StreamFieldPanel('infos_de'),
|
StreamFieldPanel('infos_de'),
|
||||||
], heading="Deutsch"),
|
], heading="Deutsch",
|
||||||
|
classname="collapsible collapsed"),
|
||||||
MultiFieldPanel([
|
MultiFieldPanel([
|
||||||
FieldPanel('intro_fr', classname="full"),
|
FieldPanel('intro_fr', classname="full"),
|
||||||
FieldPanel('body_fr', classname="full"),
|
FieldPanel('body_fr', classname="full"),
|
||||||
StreamFieldPanel('infos_fr'),
|
StreamFieldPanel('infos_fr'),
|
||||||
], heading="Français"),
|
], heading="Français",
|
||||||
|
classname="collapsible collapsed"),
|
||||||
MultiFieldPanel([
|
MultiFieldPanel([
|
||||||
FieldPanel('intro_en', classname="full"),
|
FieldPanel('intro_en', classname="full"),
|
||||||
FieldPanel('body_en', classname="full"),
|
FieldPanel('body_en', classname="full"),
|
||||||
StreamFieldPanel('infos_en'),
|
StreamFieldPanel('infos_en'),
|
||||||
], heading="English"),
|
], heading="English",
|
||||||
|
classname="collapsible collapsed"),
|
||||||
]
|
]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in a new issue