SVN: r22957 - trunk/quixote/form2
Neil Schemenauer <nascheme-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]> Mon, 03 Nov 2003 12:03:05 -0500
| Newsgroups | gmane.comp.web.quixote.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: nascheme
Date: 2003-11-03 12:03:05 -0500 (Mon, 03 Nov 2003)
New Revision: 22957
Modified:
trunk/quixote/form2/widget.py
Log:
Remove unused 'request' parameter from render() method of
RadiobuttonsWidget and OptionSelectWidget. Comment fix.
Modified: trunk/quixote/form2/widget.py
===================================================================
--- trunk/quixote/form2/widget.py 2003-11-03 16:08:13 UTC (rev 22956)
+++ trunk/quixote/form2/widget.py 2003-11-03 17:03:05 UTC (rev 22957)
@@ -91,7 +91,7 @@
# These correspond to the standard types of input tag in HTML:
# text StringWidget
# password PasswordWidget
-# radio RadiobuttonWidget
+# radio RadiobuttonsWidget
# checkbox CheckboxWidget
#
# and also to the other basic form elements:
@@ -432,7 +432,7 @@
else:
self.delim = delim
- def render(self, request):
+ def render(self):
tags = []
for object, description, key in self.options:
if self.is_selected(object):
@@ -609,7 +609,7 @@
SELECT_TYPE = "option_select"
- def render(self, request):
+ def render(self):
return (SingleSelectWidget.render(self) +
htmltext('<noscript>'
'<input type="submit" name="" value="apply" />'