Closed bochecha closed 11 years ago
deform allows creating a form as follows:
>>> class MySchema(colander.Schema): ... foo = colander.SchemaNode(colander.String()) ... >>> >>> form = deform.Form(MySchema(), autocomplete=False)
The generated form should have a autocomplete="off" attribute set as a result, but it was ignored by the form.pt template.
autocomplete="off"
This change is inspired by the code of the form.pt template in deform itself.
Hello?
This is a trivial change, and the issue it fixes is very annoying, could somebody have a look at it?
deform allows creating a form as follows:
The generated form should have a
autocomplete="off"
attribute set as a result, but it was ignored by the form.pt template.This change is inspired by the code of the form.pt template in deform itself.