forked from vangheem/wtform_extras
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
62 lines (38 loc) · 1.07 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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