Blocks
hypha.apply.stream_forms.blocks
¶
CHARFIELD_FORMATS
module-attribute
¶
FormFieldBlock
¶
Bases: StructBlock
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
¶
Source code in hypha/apply/stream_forms/blocks.py
get_field
¶
decode
¶
serialize
¶
serialize_no_response
¶
prepare_data
¶
render
¶
Source code in hypha/apply/stream_forms/blocks.py
get_searchable_content
¶
OptionalFormFieldBlock
¶
Bases: FormFieldBlock
field_label
class-attribute
instance-attribute
¶
help_text
class-attribute
instance-attribute
¶
help_link
class-attribute
instance-attribute
¶
required
class-attribute
instance-attribute
¶
get_slug
¶
get_field_class
¶
get_widget
¶
get_field_kwargs
¶
Source code in hypha/apply/stream_forms/blocks.py
get_field
¶
decode
¶
serialize
¶
serialize_no_response
¶
prepare_data
¶
render
¶
Source code in hypha/apply/stream_forms/blocks.py
get_searchable_content
¶
CharFieldBlock
¶
Bases: OptionalFormFieldBlock
field_label
class-attribute
instance-attribute
¶
help_text
class-attribute
instance-attribute
¶
help_link
class-attribute
instance-attribute
¶
required
class-attribute
instance-attribute
¶
format
class-attribute
instance-attribute
¶
format = ChoiceBlock(choices=CHARFIELD_FORMATS, required=False, label=gettext_lazy('Format'))
default_value
class-attribute
instance-attribute
¶
Meta
¶
get_slug
¶
get_widget
¶
get_field_kwargs
¶
Source code in hypha/apply/stream_forms/blocks.py
get_field
¶
decode
¶
serialize
¶
serialize_no_response
¶
prepare_data
¶
render
¶
Source code in hypha/apply/stream_forms/blocks.py
no_response
¶
get_field_class
¶
MultiInputCharFieldBlock
¶
Bases: CharFieldBlock
field_label
class-attribute
instance-attribute
¶
help_text
class-attribute
instance-attribute
¶
help_link
class-attribute
instance-attribute
¶
required
class-attribute
instance-attribute
¶
format
class-attribute
instance-attribute
¶
format = ChoiceBlock(choices=CHARFIELD_FORMATS, required=False, label=gettext_lazy('Format'))
default_value
class-attribute
instance-attribute
¶
number_of_inputs
class-attribute
instance-attribute
¶
add_button_text
class-attribute
instance-attribute
¶
Meta
¶
get_slug
¶
get_field_class
¶
get_widget
¶
get_field_kwargs
¶
Source code in hypha/apply/stream_forms/blocks.py
get_field
¶
decode
¶
serialize
¶
serialize_no_response
¶
prepare_data
¶
render
¶
Source code in hypha/apply/stream_forms/blocks.py
get_searchable_content
¶
TextFieldBlock
¶
Bases: OptionalFormFieldBlock
field_label
class-attribute
instance-attribute
¶
help_text
class-attribute
instance-attribute
¶
help_link
class-attribute
instance-attribute
¶
required
class-attribute
instance-attribute
¶
default_value
class-attribute
instance-attribute
¶
word_limit
class-attribute
instance-attribute
¶
Meta
¶
get_slug
¶
get_field_class
¶
get_widget
¶
get_field_kwargs
¶
Source code in hypha/apply/stream_forms/blocks.py
get_field
¶
decode
¶
serialize
¶
serialize_no_response
¶
prepare_data
¶
render
¶
Source code in hypha/apply/stream_forms/blocks.py
no_response
¶
NumberFieldBlock
¶
Bases: OptionalFormFieldBlock
field_label
class-attribute
instance-attribute
¶
help_text
class-attribute
instance-attribute
¶
help_link
class-attribute
instance-attribute
¶
required
class-attribute
instance-attribute
¶
default_value
class-attribute
instance-attribute
¶
Meta
¶
get_slug
¶
get_field_class
¶
get_widget
¶
get_field_kwargs
¶
Source code in hypha/apply/stream_forms/blocks.py
get_field
¶
decode
¶
serialize
¶
serialize_no_response
¶
prepare_data
¶
render
¶
Source code in hypha/apply/stream_forms/blocks.py
no_response
¶
CheckboxFieldBlock
¶
Bases: OptionalFormFieldBlock
field_label
class-attribute
instance-attribute
¶
help_text
class-attribute
instance-attribute
¶
help_link
class-attribute
instance-attribute
¶
required
class-attribute
instance-attribute
¶
Meta
¶
get_slug
¶
get_field_class
¶
get_widget
¶
get_field_kwargs
¶
Source code in hypha/apply/stream_forms/blocks.py
get_field
¶
decode
¶
serialize
¶
serialize_no_response
¶
prepare_data
¶
render
¶
Source code in hypha/apply/stream_forms/blocks.py
get_searchable_content
¶
RadioButtonsFieldBlock
¶
Bases: OptionalFormFieldBlock
field_label
class-attribute
instance-attribute
¶
help_text
class-attribute
instance-attribute
¶
help_link
class-attribute
instance-attribute
¶
required
class-attribute
instance-attribute
¶
choices
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
¶
GroupToggleBlock
¶
Bases: FormFieldBlock
field_label
class-attribute
instance-attribute
¶
help_text
class-attribute
instance-attribute
¶
help_link
class-attribute
instance-attribute
¶
required
class-attribute
instance-attribute
¶
choices
class-attribute
instance-attribute
¶
choices = ListBlock(CharBlock(label=gettext_lazy('Choice')), help_text='Please create only two choices for toggle. First choice will revel the group and the second hide it. Additional choices will be ignored.')
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
¶
get_field_kwargs
¶
Source code in hypha/apply/stream_forms/blocks.py
GroupToggleEndBlock
¶
DropdownFieldBlock
¶
Bases: RadioButtonsFieldBlock
field_label
class-attribute
instance-attribute
¶
help_text
class-attribute
instance-attribute
¶
help_link
class-attribute
instance-attribute
¶
required
class-attribute
instance-attribute
¶
choices
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
¶
CheckboxesFieldBlock
¶
Bases: OptionalFormFieldBlock
field_label
class-attribute
instance-attribute
¶
help_text
class-attribute
instance-attribute
¶
help_link
class-attribute
instance-attribute
¶
required
class-attribute
instance-attribute
¶
checkboxes
class-attribute
instance-attribute
¶
Meta
¶
get_slug
¶
get_field_class
¶
get_widget
¶
get_field
¶
decode
¶
serialize
¶
serialize_no_response
¶
render
¶
Source code in hypha/apply/stream_forms/blocks.py
no_response
¶
get_field_kwargs
¶
prepare_data
¶
DatePickerInput
¶
Bases: DateInput
Source code in hypha/apply/stream_forms/blocks.py
DateFieldBlock
¶
Bases: OptionalFormFieldBlock