Pylons / deform

A Python HTML form library.
Other
416 stars 160 forks source link

Add HTML5 attributes to button #389

Closed stevepiercy closed 4 years ago

stevepiercy commented 4 years ago

In #345 we added HTML5 attributes to most of the templates, but not for buttons. I found that it is useful to add formnovalidate to a Cancel button to prevent the browser from performing validation client side.

Buttons are in form.pt.

Also need to modify form.py Button class to accept attributes dict.

stevepiercy commented 4 years ago

Closed by #390