# HG changeset patch # User Adrien Di Mascio # Date 1235141502 -3600 # Node ID 6e0379fc198818b077487944b88010ed2f621d6f # Parent e78ae38506dba29e7d3067b77a9c3087c06affc5 put form buttons in a separate table diff -r e78ae38506db -r 6e0379fc1988 web/form.py --- a/web/form.py Fri Feb 20 15:46:38 2009 +0100 +++ b/web/form.py Fri Feb 20 15:51:42 2009 +0100 @@ -779,7 +779,7 @@ w = data.append # XXX form_needs_multipart w(self.open_form(form)) - w(u'
%s
' % _('validating...')) + w(u'
%s
' % form.req._('validating...')) w(u'
') w(tags.input(type='hidden', name='__form_id', value=form.domid)) if form.redirect_path: @@ -829,8 +829,10 @@ #def render_field(self, w, form, field): def render_buttons(self, w, form): + w(u'\n\n') for button in form.form_buttons(): - w(button) + w(u'\n' % button) + w(u'
%s
') def render_label(self, form, field): label = form.req._(field.label)