fobi.contrib.plugins.form_elements.fields.input package¶
Submodules¶
fobi.contrib.plugins.form_elements.fields.input.apps module¶
fobi.contrib.plugins.form_elements.fields.input.constants module¶
fobi.contrib.plugins.form_elements.fields.input.fobi_form_elements module¶
-
class
fobi.contrib.plugins.form_elements.fields.input.fobi_form_elements.
InputPlugin
(user=None)[source]¶ Bases:
fobi.base.FormFieldPlugin
Input field plugin.
-
form
¶ alias of
InputForm
-
get_form_field_instances
(request=None, form_entry=None, form_element_entries=None, **kwargs)[source]¶ Get form field instances.
-
group
= <django.utils.functional.__proxy__ object>¶
-
name
= <django.utils.functional.__proxy__ object>¶
-
uid
= 'input'¶
-
fobi.contrib.plugins.form_elements.fields.input.forms module¶
-
class
fobi.contrib.plugins.form_elements.fields.input.forms.
InputForm
(data=None, files=None, auto_id=u'id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None)[source]¶ Bases:
django.forms.forms.Form
,fobi.base.BaseFormFieldPluginForm
Form for
InputPlugin
.-
base_fields
= OrderedDict([('label', <django.forms.fields.CharField object at 0x7f4388da6f90>), ('name', <django.forms.fields.CharField object at 0x7f4388da6fd0>), ('help_text', <django.forms.fields.CharField object at 0x7f4388c6b0d0>), ('initial', <django.forms.fields.CharField object at 0x7f4388c6b190>), ('max_length', <django.forms.fields.IntegerField object at 0x7f4388c6b290>), ('required', <django.forms.fields.BooleanField object at 0x7f4388c6b350>), ('placeholder', <django.forms.fields.CharField object at 0x7f4388c6b410>), ('autocomplete_value', <django.forms.fields.BooleanField object at 0x7f4388c6b4d0>), ('autofocus_value', <django.forms.fields.BooleanField object at 0x7f4388c6b590>), ('disabled_value', <django.forms.fields.BooleanField object at 0x7f4388c6b650>), ('list_value', <django.forms.fields.CharField object at 0x7f4388c6b710>), ('max_value', <django.forms.fields.CharField object at 0x7f4388c6b7d0>), ('min_value', <django.forms.fields.CharField object at 0x7f4388c6b890>), ('multiple_value', <django.forms.fields.BooleanField object at 0x7f4388c6b950>), ('pattern_value', <django.forms.fields.CharField object at 0x7f4388c6ba10>), ('readonly_value', <django.forms.fields.BooleanField object at 0x7f4388c6bad0>), ('step_value', <django.forms.fields.IntegerField object at 0x7f4388c6bb90>), ('type_value', <django.forms.fields.ChoiceField object at 0x7f4388c6bc50>)])¶
-
declared_fields
= OrderedDict([('label', <django.forms.fields.CharField object at 0x7f4388da6f90>), ('name', <django.forms.fields.CharField object at 0x7f4388da6fd0>), ('help_text', <django.forms.fields.CharField object at 0x7f4388c6b0d0>), ('initial', <django.forms.fields.CharField object at 0x7f4388c6b190>), ('max_length', <django.forms.fields.IntegerField object at 0x7f4388c6b290>), ('required', <django.forms.fields.BooleanField object at 0x7f4388c6b350>), ('placeholder', <django.forms.fields.CharField object at 0x7f4388c6b410>), ('autocomplete_value', <django.forms.fields.BooleanField object at 0x7f4388c6b4d0>), ('autofocus_value', <django.forms.fields.BooleanField object at 0x7f4388c6b590>), ('disabled_value', <django.forms.fields.BooleanField object at 0x7f4388c6b650>), ('list_value', <django.forms.fields.CharField object at 0x7f4388c6b710>), ('max_value', <django.forms.fields.CharField object at 0x7f4388c6b7d0>), ('min_value', <django.forms.fields.CharField object at 0x7f4388c6b890>), ('multiple_value', <django.forms.fields.BooleanField object at 0x7f4388c6b950>), ('pattern_value', <django.forms.fields.CharField object at 0x7f4388c6ba10>), ('readonly_value', <django.forms.fields.BooleanField object at 0x7f4388c6bad0>), ('step_value', <django.forms.fields.IntegerField object at 0x7f4388c6bb90>), ('type_value', <django.forms.fields.ChoiceField object at 0x7f4388c6bc50>)])¶
-
media
¶
-
plugin_data_fields
= [('label', ''), ('name', ''), ('help_text', ''), ('initial', ''), ('max_length', '255'), ('required', False), ('placeholder', ''), ('autocomplete_value', 'off'), ('autofocus_value', False), ('disabled_value', False), ('list_value', ''), ('max_value', ''), ('min_value', ''), ('multiple_value', False), ('pattern_value', ''), ('readonly_value', False), ('step_value', ''), ('type_value', 'text')]¶
-