This class provides some additional features to the base wtforms.Form class. These include:

Methods to render the form in HTML

as_p to render form using p tags

as_table to render using html table

CSRF protection availability

TODO: Since WTForms wants presentation attributes (like rows and cols for textarea) to be set on

instantiated form instances (not the class itself), allow some way to specify field attributes
that are then read at field display time. Possibly a field_attrs dict??? May be reimplementing sub-classes of some
fields to make use of it would be a good idea??

Output each form field as html p tags. By default labels are displayed on top of the form fields
and validation erros are displayed on the right of the form fields. Both these behaviors can be
changed by settings values for the labels and errors parameters.

Values can be left, top, right or bottom

Parameters:

labels – Placement of labels relative to the field

errors – Placement of validation errors (if any) relative to the field

Output each form field as html p tags. By default labels are displayed on top of the form fields
and validation erros are displayed on the right of the form fields. Both these behaviors can be
changed by settings values for the labels and errors parameters.

Values can be left, top, right or bottom

Parameters:

labels – Placement of labels relative to the field

errors – Placement of validation errors (if any) relative to the field

A Wrapper around wtforms.ext.sqlalchemy.orm.model_form() function to facilitate creating model
forms using a wtforms compatible model_form call but using pyck.forms.Form
Create a wtforms Form for a given SQLAlchemy model class:

A Wrapper around wtforms.ext.sqlalchemy.orm.model_form() function to facilitate creating model
forms using a wtforms compatible model_form call but using pyck.forms.Form and :module:`WTDojo`
form components