Code

oops, fubared the confirm password field
[roundup.git] / roundup / cgi / templating.py
index 6992e061f3625c758953e864dd880af262cb00fe..54bf622e8d0ae9316c43a20323f79ca81f25f76e 100644 (file)
@@ -876,9 +876,9 @@ class PasswordHTMLProperty(HTMLProperty):
     def confirm(self, size = 30):
         ''' Render a second form edit field for the property, used for 
             confirmation that the user typed the password correctly. Generates
-            a field with name "name:confirm".
+            a field with name ":confirm:name".
         '''
-        return '<input type="password" name="%s:confirm" size="%s">'%(
+        return '<input type="password" name=":confirm:%s" size="%s">'%(
             self._name, size)
 
 class NumberHTMLProperty(HTMLProperty):