Blocks
hypha.apply.determinations.blocks
¶
DeterminationMustIncludeFieldBlock
¶
Bases: MustIncludeFieldBlock
Source code in hypha/apply/utils/blocks.py
field_label
class-attribute
instance-attribute
¶
help_text
class-attribute
instance-attribute
¶
help_link
class-attribute
instance-attribute
¶
get_slug
¶
get_field_class
¶
get_widget
¶
get_field_kwargs
¶
get_field
¶
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
field_label
class-attribute
instance-attribute
¶
help_text
class-attribute
instance-attribute
¶
help_link
class-attribute
instance-attribute
¶
get_slug
¶
get_field_class
¶
get_widget
¶
get_field
¶
decode
¶
serialize
¶
serialize_no_response
¶
prepare_data
¶
get_searchable_content
¶
no_response
¶
get_field_kwargs
¶
DeterminationMessageBlock
¶
Bases: DeterminationMustIncludeFieldBlock
Source code in hypha/apply/utils/blocks.py
field_label
class-attribute
instance-attribute
¶
help_text
class-attribute
instance-attribute
¶
help_link
class-attribute
instance-attribute
¶
Meta
¶
get_slug
¶
get_field_class
¶
get_widget
¶
get_field
¶
decode
¶
serialize
¶
serialize_no_response
¶
prepare_data
¶
render
¶
Source code in hypha/apply/stream_forms/blocks.py
get_searchable_content
¶
no_response
¶
SendNoticeBlock
¶
Bases: DeterminationMustIncludeFieldBlock
Source code in hypha/apply/utils/blocks.py
field_label
class-attribute
instance-attribute
¶
help_text
class-attribute
instance-attribute
¶
help_link
class-attribute
instance-attribute
¶
default_value
class-attribute
instance-attribute
¶
Meta
¶
get_slug
¶
get_field_class
¶
get_widget
¶
get_field_kwargs
¶
get_field
¶
decode
¶
serialize
¶
serialize_no_response
¶
prepare_data
¶
render
¶
Source code in hypha/apply/stream_forms/blocks.py
get_searchable_content
¶
DeterminationCustomFormFieldsBlock
¶
Bases: CustomFormFieldsBlock
Source code in hypha/apply/utils/blocks.py
rich_text
class-attribute
instance-attribute
¶
rich_text = RichTextFieldBlock(group=gettext_lazy('Fields'))
markdown_text
class-attribute
instance-attribute
¶
markdown_text = MarkdownTextFieldBlock(group=gettext_lazy('Fields'))
required_block_names
instance-attribute
¶
single_block_names
instance-attribute
¶
text_markup
class-attribute
instance-attribute
¶
checkbox
class-attribute
instance-attribute
¶
checkbox = CheckboxFieldBlock(group=gettext_lazy('Fields'))
dropdown
class-attribute
instance-attribute
¶
dropdown = DropdownFieldBlock(group=gettext_lazy('Fields'))
clean
¶
Source code in hypha/apply/utils/blocks.py
add_error_to_child
¶
Source code in hypha/apply/utils/blocks.py
to_python
¶
This allows historic data to still be accessible even if a custom field type is removed from the code in the future.