Mercurial > p > roundup > code
comparison roundup/cgi/templating.py @ 1440:b4c0819c7a57
oops, fubared the confirm password field
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 17 Feb 2003 22:32:43 +0000 |
| parents | 13c42b803101 |
| children | 2b20294b934a |
comparison
equal
deleted
inserted
replaced
| 1439:0634f815b90c | 1440:b4c0819c7a57 |
|---|---|
| 876 def confirm(self, size = 30): | 876 def confirm(self, size = 30): |
| 877 ''' Render a second form edit field for the property, used for | 877 ''' Render a second form edit field for the property, used for |
| 878 confirmation that the user typed the password correctly. Generates | 878 confirmation that the user typed the password correctly. Generates |
| 879 a field with name ":confirm:name". | 879 a field with name ":confirm:name". |
| 880 ''' | 880 ''' |
| 881 return '<input type="password" name=":confirm:name" size="%s">'%( | 881 return '<input type="password" name=":confirm:%s" size="%s">'%( |
| 882 self._name, size) | 882 self._name, size) |
| 883 | 883 |
| 884 class NumberHTMLProperty(HTMLProperty): | 884 class NumberHTMLProperty(HTMLProperty): |
| 885 def plain(self): | 885 def plain(self): |
| 886 ''' Render a "plain" representation of the property | 886 ''' Render a "plain" representation of the property |
