branch | stable |
changeset 2093 | e3aaf61f8c66 |
parent 2006 | 78d5b57d4964 |
child 2144 | 51c84d585456 |
child 2148 | 2b2b9626a98f |
--- a/web/views/formrenderers.py Wed Jun 10 16:13:29 2009 +0200 +++ b/web/views/formrenderers.py Wed Jun 10 18:44:10 2009 +0200 @@ -94,6 +94,8 @@ def render_help(self, form, field): help = [] descr = field.help + if callable(descr): + descr = descr(form) if descr: help.append('<div class="helper">%s</div>' % self.req._(descr)) example = field.example_format(self.req)