form_classname argument on StreamField blocks
This commit is contained in:
parent
32cb2abca2
commit
4829847313
1 changed files with 3 additions and 3 deletions
|
@ -118,7 +118,7 @@ class ArticlePage(Page):
|
||||||
|
|
||||||
body_de = StreamField([
|
body_de = StreamField([
|
||||||
('paragraph', RichTextBlock()),
|
('paragraph', RichTextBlock()),
|
||||||
('section', CharBlock(classname="full title")),
|
('section', CharBlock(form_classname="full title")),
|
||||||
('info', InfoBlock(icon='help')),
|
('info', InfoBlock(icon='help')),
|
||||||
('media', ChoiceBlock(choices=[
|
('media', ChoiceBlock(choices=[
|
||||||
('gallery', 'Image gallery'),
|
('gallery', 'Image gallery'),
|
||||||
|
@ -126,7 +126,7 @@ class ArticlePage(Page):
|
||||||
], null=True, blank=True)
|
], null=True, blank=True)
|
||||||
body_fr = StreamField([
|
body_fr = StreamField([
|
||||||
('paragraph', RichTextBlock()),
|
('paragraph', RichTextBlock()),
|
||||||
('section', CharBlock(classname="full title")),
|
('section', CharBlock(form_classname="full title")),
|
||||||
('info', InfoBlock(icon='help')),
|
('info', InfoBlock(icon='help')),
|
||||||
('media', ChoiceBlock(choices=[
|
('media', ChoiceBlock(choices=[
|
||||||
('gallery', 'Image gallery'),
|
('gallery', 'Image gallery'),
|
||||||
|
@ -134,7 +134,7 @@ class ArticlePage(Page):
|
||||||
], null=True, blank=True)
|
], null=True, blank=True)
|
||||||
body_en = StreamField([
|
body_en = StreamField([
|
||||||
('paragraph', RichTextBlock()),
|
('paragraph', RichTextBlock()),
|
||||||
('section', CharBlock(classname="full title")),
|
('section', CharBlock(form_classname="full title")),
|
||||||
('info', InfoBlock(icon='help')),
|
('info', InfoBlock(icon='help')),
|
||||||
('media', ChoiceBlock(choices=[
|
('media', ChoiceBlock(choices=[
|
||||||
('gallery', 'Image gallery'),
|
('gallery', 'Image gallery'),
|
||||||
|
|
Loading…
Reference in a new issue