wtforms_extras

Provide templates for wtform widgets


Keywords
wtform, form, widgets
License
MIT
Install
pip install wtforms_extras==1.1.4

Documentation

Introduction
============

This package aims to bring some improvements to make working with wtforms easier.

This package currently allows you to render entire forms.

Support for rendering wtform widgets with bootstrap and foundation are currently supported.


Example::

    class MyForm(Form):
        # special property we use to specify order fields should
        # be shown
        _order = ['age']
        age = IntegerField(u'Age')

    form = MyForm(req.POST)
    from wtforms_extras import render_form
    render_form(form, style='bootstrap')

    # or just a field
    from wtforms_extras import render_field
    render_field(form, 'age', style='bootstrap')


Changelog
=========

1.1.3 - 2014-11-25
------------------

- remove error star on default field

1.1.2 - 2014-11-25
------------------

- spurious pdb

1.1.1 - 2014-11-24
------------------

- omit fieldset properly

1.1.0 - 2014-11-24
------------------

- be able to use fieldsets

- fix to always allow html rendering


1.0.1 - 2014-11-13
------------------

- doc fix

1.0 - 2014-11-13
----------------

- initial release