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
-
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 0x7f274d93b9d0>), ('name', <django.forms.fields.CharField object at 0x7f274d93ba10>), ('help_text', <django.forms.fields.CharField object at 0x7f274d93bad0>), ('initial', <django.forms.fields.CharField object at 0x7f274d93bb90>), ('max_length', <django.forms.fields.IntegerField object at 0x7f274d93bc50>), ('required', <django.forms.fields.BooleanField object at 0x7f274d93bd10>), ('placeholder', <django.forms.fields.CharField object at 0x7f274d93bdd0>), ('autocomplete_value', <django.forms.fields.BooleanField object at 0x7f274d93be90>), ('autofocus_value', <django.forms.fields.BooleanField object at 0x7f274d93bf50>), ('disabled_value', <django.forms.fields.BooleanField object at 0x7f274d944090>), ('list_value', <django.forms.fields.CharField object at 0x7f274d944190>), ('max_value', <django.forms.fields.CharField object at 0x7f274d9442d0>), ('min_value', <django.forms.fields.CharField object at 0x7f274d9443d0>), ('multiple_value', <django.forms.fields.BooleanField object at 0x7f274d9444d0>), ('pattern_value', <django.forms.fields.CharField object at 0x7f274d944590>), ('readonly_value', <django.forms.fields.BooleanField object at 0x7f274d9446d0>), ('step_value', <django.forms.fields.IntegerField object at 0x7f274d944790>), ('type_value', <django.forms.fields.ChoiceField object at 0x7f274d9448d0>)])¶
-
declared_fields
= OrderedDict([('label', <django.forms.fields.CharField object at 0x7f274d93b9d0>), ('name', <django.forms.fields.CharField object at 0x7f274d93ba10>), ('help_text', <django.forms.fields.CharField object at 0x7f274d93bad0>), ('initial', <django.forms.fields.CharField object at 0x7f274d93bb90>), ('max_length', <django.forms.fields.IntegerField object at 0x7f274d93bc50>), ('required', <django.forms.fields.BooleanField object at 0x7f274d93bd10>), ('placeholder', <django.forms.fields.CharField object at 0x7f274d93bdd0>), ('autocomplete_value', <django.forms.fields.BooleanField object at 0x7f274d93be90>), ('autofocus_value', <django.forms.fields.BooleanField object at 0x7f274d93bf50>), ('disabled_value', <django.forms.fields.BooleanField object at 0x7f274d944090>), ('list_value', <django.forms.fields.CharField object at 0x7f274d944190>), ('max_value', <django.forms.fields.CharField object at 0x7f274d9442d0>), ('min_value', <django.forms.fields.CharField object at 0x7f274d9443d0>), ('multiple_value', <django.forms.fields.BooleanField object at 0x7f274d9444d0>), ('pattern_value', <django.forms.fields.CharField object at 0x7f274d944590>), ('readonly_value', <django.forms.fields.BooleanField object at 0x7f274d9446d0>), ('step_value', <django.forms.fields.IntegerField object at 0x7f274d944790>), ('type_value', <django.forms.fields.ChoiceField object at 0x7f274d9448d0>)])¶
-
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')]¶
-