changeset 2842:31e9f486d1ce

Fix two ActionBase form bugs: two method arguments in same form tag, input tag without a div (or any else 'container' around it)
author Ville-Pekka Vainio <vpivaini AT cs DOT helsinki DOT fi>
date Thu, 05 Jul 2007 15:53:31 +0300
parents 93be75db2051
children 145f493aaec0
files MoinMoin/action/__init__.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/__init__.py	Wed Sep 19 21:39:48 2007 +0200
+++ b/MoinMoin/action/__init__.py	Thu Jul 05 15:53:31 2007 +0300
@@ -140,10 +140,12 @@
 
         form_html = '''
 %(error_html)s
-<form method="post" action="" method="%(method)s" enctype="%(enctype)s">
+<form action="" method="%(method)s" enctype="%(enctype)s">
+<div>
 <input type="hidden" name="action" value="%(actionname)s">
 %(ticket_html)s
 %(user_html)s
+</div>
 </form>''' % d
 
         return Dialog(self.request, content=form_html)