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

Re: #42 fix bug when `bootstrap_form_style` not provided. #43

Closed thruflo closed 11 years ago

thruflo commented 11 years ago

Sorry, my bad, #42 introduced a bug: rendering any form would raise an error when bootstrap_form_style wasn't provided as a kwarg to the form constructor.

This tweaks the form.pt logic to avoid assuming that field.bootstrap_form_style exists.

dnouri commented 11 years ago

I merged 82985a9, assuming the other commit was accidentally added.