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.pyButton class to accept attributes dict.
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 acceptattributes
dict.