Kotti / deform_bootstrap

Bootstrap compatible templates for the deform form library. (Merged into deform 2.)
http://pypi.python.org/pypi/deform_bootstrap
34 stars 30 forks source link

Better button support #31

Closed nandoflorestan closed 12 years ago

nandoflorestan commented 12 years ago

Firstly, output the div.form-actions if and only if there are buttons in the form. This is essential. For instance, I have modal dialogs which define their own button area.

Secondly, add support for an icon in each button, through a button.icon property.