# HG changeset patch # User Florent # Date 1243282498 -7200 # Node ID be86bb31c4c2ce1009819a3b61e3c97e7b4304f2 # Parent 2b9432262240f8abe1724cbd758aea16ca0cb2f3 add single input password widget diff -r 2b9432262240 -r be86bb31c4c2 web/formwidgets.py --- a/web/formwidgets.py Mon May 25 12:21:06 2009 +0200 +++ b/web/formwidgets.py Mon May 25 22:14:58 2009 +0200 @@ -109,6 +109,11 @@ return u'\n'.join(inputs) +class PasswordSingleInput(Input): + """ without a confirmation field""" + type = 'password' + + class FileInput(Input): """""" type = 'file'