From 26c005a5aa277ba6d52ceaab08a22505d36cc6af Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson <frjo@xdeb.org> Date: Wed, 22 Jan 2020 10:02:33 +0100 Subject: [PATCH] Code style fixes. --- opentech/public/utils/blocks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opentech/public/utils/blocks.py b/opentech/public/utils/blocks.py index e284bed7a..d1806b810 100644 --- a/opentech/public/utils/blocks.py +++ b/opentech/public/utils/blocks.py @@ -41,6 +41,7 @@ class BoxBlock(blocks.StructBlock): icon = "placeholder" template = "blocks/box_block.html" + class ApplyLinkBlock(blocks.StructBlock): application = blocks.PageChooserBlock() @@ -48,6 +49,7 @@ class ApplyLinkBlock(blocks.StructBlock): icon = "link" template = "blocks/apply_link_block.html" + # Main streamfield block to be inherited by Pages class StoryBlock(blocks.StreamBlock): heading = blocks.CharBlock(classname="full title", icon='title') -- GitLab