web/application.py
changeset 4224 5998df006968
parent 3408 c92170fca813
child 4252 6c4f109c2b03
--- a/web/application.py	Wed Jan 13 15:48:24 2010 +0100
+++ b/web/application.py	Wed Jan 13 15:54:07 2010 +0100
@@ -375,7 +375,7 @@
     def validation_error_handler(self, req, ex):
         ex.errors = dict((k, v) for k, v in ex.errors.items())
         if '__errorurl' in req.form:
-            forminfo = {'errors': ex,
+            forminfo = {'error': ex,
                         'values': req.form,
                         'eidmap': req.data.get('eidmap', {})
                         }