From 482984731361d43bffd903785c0b60de8af7a1c6 Mon Sep 17 00:00:00 2001 From: Oleg Lavrovsky Date: Fri, 11 Dec 2020 11:46:24 +0100 Subject: [PATCH] form_classname argument on StreamField blocks --- publichealth/home/models/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/publichealth/home/models/models.py b/publichealth/home/models/models.py index 0a8c168..e9f2312 100644 --- a/publichealth/home/models/models.py +++ b/publichealth/home/models/models.py @@ -118,7 +118,7 @@ class ArticlePage(Page): body_de = StreamField([ ('paragraph', RichTextBlock()), - ('section', CharBlock(classname="full title")), + ('section', CharBlock(form_classname="full title")), ('info', InfoBlock(icon='help')), ('media', ChoiceBlock(choices=[ ('gallery', 'Image gallery'), @@ -126,7 +126,7 @@ class ArticlePage(Page): ], null=True, blank=True) body_fr = StreamField([ ('paragraph', RichTextBlock()), - ('section', CharBlock(classname="full title")), + ('section', CharBlock(form_classname="full title")), ('info', InfoBlock(icon='help')), ('media', ChoiceBlock(choices=[ ('gallery', 'Image gallery'), @@ -134,7 +134,7 @@ class ArticlePage(Page): ], null=True, blank=True) body_en = StreamField([ ('paragraph', RichTextBlock()), - ('section', CharBlock(classname="full title")), + ('section', CharBlock(form_classname="full title")), ('info', InfoBlock(icon='help')), ('media', ChoiceBlock(choices=[ ('gallery', 'Image gallery'),