quixote/form widget.py,1.41,1.42

Neil Schemenauer <nascheme-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]> Fri, 08 Nov 2002 14:17:26 -0500
Newsgroups gmane.comp.web.quixote.cvs
Message-ID <[email protected]>
Update of /home/cvs/quixote/form
In directory hewson:/tmp/cvs-serv20788

Modified Files:
	widget.py 
Log Message:
RadioSelectWidget needs to use 'key' for the value attribute too.


Index: widget.py
===================================================================
RCS file: /home/cvs/quixote/form/widget.py,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- widget.py	7 Nov 2002 22:29:17 -0000	1.41
+++ widget.py	8 Nov 2002 19:17:23 -0000	1.42
@@ -475,7 +475,7 @@
             r = htmltag("input",
                         type="radio",
                         name=self.name,
-                        value=description,
+                        value=key,
                         checked=checked)
             tags.append(r + htmlescape(description) + htmltext('</input>'))
         return htmlescape(self.delim).join(tags)