SVN: r26048 - trunk/quixote/form
David Binger <dbinger-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]> Thu, 10 Feb 2005 09:19:07 -0500
| Newsgroups | gmane.comp.web.quixote.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: dbinger
Date: 2005-02-10 09:19:07 -0500 (Thu, 10 Feb 2005)
New Revision: 26048
Modified:
trunk/quixote/form/form.py
Log:
Remove name keyword from Form constructor.
Modified: trunk/quixote/form/form.py
===================================================================
--- trunk/quixote/form/form.py 2005-02-10 14:05:35 UTC (rev 26047)
+++ trunk/quixote/form/form.py 2005-02-10 14:19:07 UTC (rev 26048)
@@ -70,7 +70,6 @@
'</div>')
def __init__(self,
- name=None,
method="post",
action_url=None,
enctype=None,
@@ -80,7 +79,6 @@
if method not in ("post", "get"):
raise ValueError("Form method must be 'post' or 'get', "
"not %r" % method)
- self.name = name
self.method = method
self.action_url = action_url or self._get_default_action_url()
if not attrs:
@@ -299,7 +297,7 @@
def _render_start(self):
r = TemplateIO(html=True)
- r += htmltag('form', name=self.name, method=self.method,
+ r += htmltag('form', method=self.method,
enctype=self.enctype, action=self.action_url,
**self.attrs)
r += self._render_hidden_widgets()