fobi.contrib.plugins.form_elements.fields.text package

Submodules

fobi.contrib.plugins.form_elements.fields.text.apps module

class fobi.contrib.plugins.form_elements.fields.text.apps.Config(app_name, app_module)[source]

Bases: django.apps.config.AppConfig

Config.

label = 'fobi_contrib_plugins_form_elements_fields_text'
name = 'fobi.contrib.plugins.form_elements.fields.text'

fobi.contrib.plugins.form_elements.fields.text.fobi_form_elements module

class fobi.contrib.plugins.form_elements.fields.text.fobi_form_elements.TextInputPlugin(user=None)[source]

Bases: fobi.base.FormFieldPlugin

Text field plugin.

form

alias of TextInputForm

get_form_field_instances(request=None)[source]

Get form field instances.

group = <django.utils.functional.__proxy__ object>
name = <django.utils.functional.__proxy__ object>
uid = 'text'

fobi.contrib.plugins.form_elements.fields.text.forms module

class fobi.contrib.plugins.form_elements.fields.text.forms.TextInputForm(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 TextInputPlugin.

base_fields = OrderedDict([('label', <django.forms.fields.CharField object at 0x7f274d8a1fd0>), ('name', <django.forms.fields.CharField object at 0x7f274d8b50d0>), ('help_text', <django.forms.fields.CharField object at 0x7f274d8b5190>), ('initial', <django.forms.fields.CharField object at 0x7f274d8b5250>), ('max_length', <django.forms.fields.IntegerField object at 0x7f274d8b5310>), ('required', <django.forms.fields.BooleanField object at 0x7f274d8b53d0>), ('placeholder', <django.forms.fields.CharField object at 0x7f274d8b5490>)])
declared_fields = OrderedDict([('label', <django.forms.fields.CharField object at 0x7f274d8a1fd0>), ('name', <django.forms.fields.CharField object at 0x7f274d8b50d0>), ('help_text', <django.forms.fields.CharField object at 0x7f274d8b5190>), ('initial', <django.forms.fields.CharField object at 0x7f274d8b5250>), ('max_length', <django.forms.fields.IntegerField object at 0x7f274d8b5310>), ('required', <django.forms.fields.BooleanField object at 0x7f274d8b53d0>), ('placeholder', <django.forms.fields.CharField object at 0x7f274d8b5490>)])
media
plugin_data_fields = [('label', ''), ('name', ''), ('help_text', ''), ('initial', ''), ('max_length', '255'), ('required', False), ('placeholder', '')]

Module contents