equal
deleted
inserted
replaced
204 w(self.render_help(form, field)) |
204 w(self.render_help(form, field)) |
205 w(u'</td></tr>') |
205 w(u'</td></tr>') |
206 w(u'</table>') |
206 w(u'</table>') |
207 |
207 |
208 def render_buttons(self, w, form): |
208 def render_buttons(self, w, form): |
|
209 if not form.form_buttons: |
|
210 return |
209 w(u'<table class="%s">\n<tr>\n' % self.button_bar_class) |
211 w(u'<table class="%s">\n<tr>\n' % self.button_bar_class) |
210 for button in form.form_buttons: |
212 for button in form.form_buttons: |
211 w(u'<td>%s</td>\n' % button.render(form)) |
213 w(u'<td>%s</td>\n' % button.render(form)) |
212 w(u'</tr></table>') |
214 w(u'</tr></table>') |
213 |
215 |