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 0x7f7534991710>), ('name', <django.forms.fields.CharField object at 0x7f7534991750>), ('help_text', <django.forms.fields.CharField object at 0x7f7534991810>), ('initial', <django.forms.fields.CharField object at 0x7f75349918d0>), ('max_length', <django.forms.fields.IntegerField object at 0x7f75349919d0>), ('required', <django.forms.fields.BooleanField object at 0x7f7534991a90>), ('placeholder', <django.forms.fields.CharField object at 0x7f7534991b50>), ('autocomplete_value', <django.forms.fields.BooleanField object at 0x7f7534991c10>), ('autofocus_value', <django.forms.fields.BooleanField object at 0x7f7534991cd0>), ('disabled_value', <django.forms.fields.BooleanField object at 0x7f7534991d90>), ('list_value', <django.forms.fields.CharField object at 0x7f7534991e90>), ('max_value', <django.forms.fields.CharField object at 0x7f7534991fd0>), ('min_value', <django.forms.fields.CharField object at 0x7f753499b110>), ('multiple_value', <django.forms.fields.BooleanField object at 0x7f753499b210>), ('pattern_value', <django.forms.fields.CharField object at 0x7f753499b2d0>), ('readonly_value', <django.forms.fields.BooleanField object at 0x7f753499b410>), ('step_value', <django.forms.fields.IntegerField object at 0x7f753499b4d0>), ('type_value', <django.forms.fields.ChoiceField object at 0x7f753499b610>)])¶
-
declared_fields
= OrderedDict([('label', <django.forms.fields.CharField object at 0x7f7534991710>), ('name', <django.forms.fields.CharField object at 0x7f7534991750>), ('help_text', <django.forms.fields.CharField object at 0x7f7534991810>), ('initial', <django.forms.fields.CharField object at 0x7f75349918d0>), ('max_length', <django.forms.fields.IntegerField object at 0x7f75349919d0>), ('required', <django.forms.fields.BooleanField object at 0x7f7534991a90>), ('placeholder', <django.forms.fields.CharField object at 0x7f7534991b50>), ('autocomplete_value', <django.forms.fields.BooleanField object at 0x7f7534991c10>), ('autofocus_value', <django.forms.fields.BooleanField object at 0x7f7534991cd0>), ('disabled_value', <django.forms.fields.BooleanField object at 0x7f7534991d90>), ('list_value', <django.forms.fields.CharField object at 0x7f7534991e90>), ('max_value', <django.forms.fields.CharField object at 0x7f7534991fd0>), ('min_value', <django.forms.fields.CharField object at 0x7f753499b110>), ('multiple_value', <django.forms.fields.BooleanField object at 0x7f753499b210>), ('pattern_value', <django.forms.fields.CharField object at 0x7f753499b2d0>), ('readonly_value', <django.forms.fields.BooleanField object at 0x7f753499b410>), ('step_value', <django.forms.fields.IntegerField object at 0x7f753499b4d0>), ('type_value', <django.forms.fields.ChoiceField object at 0x7f753499b610>)])¶
-
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')]¶
-