fobi.contrib.plugins.form_elements.fields.float package¶
Submodules¶
fobi.contrib.plugins.form_elements.fields.float.apps module¶
fobi.contrib.plugins.form_elements.fields.float.fobi_form_elements module¶
-
class
fobi.contrib.plugins.form_elements.fields.float.fobi_form_elements.
FloatInputPlugin
(user=None)[source]¶ Bases:
fobi.base.FormFieldPlugin
Float input plugin.
-
form
¶ alias of
FloatInputForm
-
group
= <django.utils.functional.__proxy__ object>¶
-
name
= <django.utils.functional.__proxy__ object>¶
-
uid
= 'float'¶
-
fobi.contrib.plugins.form_elements.fields.float.forms module¶
-
class
fobi.contrib.plugins.form_elements.fields.float.forms.
FloatInputForm
(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
FloatInputPlugin
.-
base_fields
= OrderedDict([('label', <django.forms.fields.CharField object at 0x7f816f1e9bd0>), ('name', <django.forms.fields.CharField object at 0x7f816f1e9c10>), ('help_text', <django.forms.fields.CharField object at 0x7f816f1e9cd0>), ('initial', <django.forms.fields.FloatField object at 0x7f816f1e9d90>), ('min_value', <django.forms.fields.FloatField object at 0x7f816f1e9e50>), ('max_value', <django.forms.fields.FloatField object at 0x7f816f1e9f10>), ('required', <django.forms.fields.BooleanField object at 0x7f816f1e9fd0>), ('placeholder', <django.forms.fields.CharField object at 0x7f816f1f30d0>)])¶
-
declared_fields
= OrderedDict([('label', <django.forms.fields.CharField object at 0x7f816f1e9bd0>), ('name', <django.forms.fields.CharField object at 0x7f816f1e9c10>), ('help_text', <django.forms.fields.CharField object at 0x7f816f1e9cd0>), ('initial', <django.forms.fields.FloatField object at 0x7f816f1e9d90>), ('min_value', <django.forms.fields.FloatField object at 0x7f816f1e9e50>), ('max_value', <django.forms.fields.FloatField object at 0x7f816f1e9f10>), ('required', <django.forms.fields.BooleanField object at 0x7f816f1e9fd0>), ('placeholder', <django.forms.fields.CharField object at 0x7f816f1f30d0>)])¶
-
media
¶
-
plugin_data_fields
= [('label', ''), ('name', ''), ('help_text', ''), ('initial', ''), ('min_value', None), ('max_value', None), ('required', False), ('placeholder', '')]¶
-