diff --git a/opentech/public/utils/blocks.py b/opentech/public/utils/blocks.py index e284bed7ae30da7d1049284044542b5f4b971494..d1806b81077dcfb6f92d4a5ffdfe4781af19029b 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')