web/formwidgets.py
changeset 1934 be86bb31c4c2
parent 1875 7bcb02377516
child 1966 87ce7d336393
--- 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):
+    """<input type='password'> without a confirmation field"""
+    type = 'password'
+
+
 class FileInput(Input):
     """<input type='file'>"""
     type = 'file'