Blocks
hypha.apply.determinations.blocks
¶
DeterminationMustIncludeFieldBlock
¶
Bases: MustIncludeFieldBlock
Source code in hypha/apply/utils/blocks.py
help_text
class-attribute
instance-attribute
¶
get_slug
¶
get_field_class
¶
get_widget
¶
get_field_kwargs
¶
get_field
¶
get_display_value
¶
The value to display the question with.
Blocks that derive parts of the question, such as a label taken from a linked object, apply those defaults here so that every way of rendering the field gets them.
Source code in hypha/apply/stream_forms/blocks.py
decode
¶
serialize
¶
serialize_no_response
¶
prepare_data
¶
render
¶
Source code in hypha/apply/stream_forms/blocks.py
get_searchable_content
¶
DeterminationBlock
¶
Bases: DeterminationMustIncludeFieldBlock
Source code in hypha/apply/utils/blocks.py
help_text
class-attribute
instance-attribute
¶
get_field_kwargs
¶
render
¶
get_slug
¶
get_field_class
¶
get_widget
¶
get_field
¶
get_display_value
¶
The value to display the question with.
Blocks that derive parts of the question, such as a label taken from a linked object, apply those defaults here so that every way of rendering the field gets them.
Source code in hypha/apply/stream_forms/blocks.py
decode
¶
serialize
¶
serialize_no_response
¶
prepare_data
¶
get_searchable_content
¶
DeterminationMessageBlock
¶
Bases: DeterminationMustIncludeFieldBlock
Source code in hypha/apply/utils/blocks.py
help_text
class-attribute
instance-attribute
¶
Meta
¶
get_field_kwargs
¶
get_slug
¶
get_field_class
¶
get_widget
¶
get_field
¶
get_display_value
¶
The value to display the question with.
Blocks that derive parts of the question, such as a label taken from a linked object, apply those defaults here so that every way of rendering the field gets them.
Source code in hypha/apply/stream_forms/blocks.py
decode
¶
serialize
¶
serialize_no_response
¶
prepare_data
¶
render
¶
Source code in hypha/apply/stream_forms/blocks.py
get_searchable_content
¶
SendNoticeBlock
¶
Bases: DeterminationMustIncludeFieldBlock
Source code in hypha/apply/utils/blocks.py
default_value
class-attribute
instance-attribute
¶
help_text
class-attribute
instance-attribute
¶
Meta
¶
get_field_kwargs
¶
Source code in hypha/apply/determinations/blocks.py
get_searchable_content
¶
no_response
¶
get_slug
¶
get_field_class
¶
get_widget
¶
get_field
¶
get_display_value
¶
The value to display the question with.
Blocks that derive parts of the question, such as a label taken from a linked object, apply those defaults here so that every way of rendering the field gets them.
Source code in hypha/apply/stream_forms/blocks.py
decode
¶
serialize
¶
serialize_no_response
¶
prepare_data
¶
render
¶
Source code in hypha/apply/stream_forms/blocks.py
DeterminationCustomFormFieldsBlock
¶
Bases: CustomFormFieldsBlock
Source code in hypha/apply/utils/blocks.py
text_markup
class-attribute
instance-attribute
¶
required_blocks
class-attribute
instance-attribute
¶
required_blocks = DeterminationMustIncludeFieldBlock.__subclasses__()
markdown_text
class-attribute
instance-attribute
¶
markdown_text = MarkdownTextFieldBlock(group=_('Fields'))