The horizon.templatetags.form_helpers ModuleΒΆ

horizon.templatetags.form_helpers.add_bootstrap_class(field)[source]

Add a “form-control” CSS class to the field’s widget.

This is so that Bootstrap styles it properly.

horizon.templatetags.form_helpers.add_item_url(field)[source]
horizon.templatetags.form_helpers.is_checkbox(field)[source]
horizon.templatetags.form_helpers.is_file(field)[source]
horizon.templatetags.form_helpers.is_multiple_checkbox(field)[source]
horizon.templatetags.form_helpers.is_radio(field)[source]
horizon.templatetags.form_helpers.wrapper_classes(field)[source]

Previous topic

The horizon.templatetags Module

Next topic

The horizon.templatetags.branding Module

Project Source

This Page