diff -r b1fd9d4ef579 -r 428f95118556 web/formfields.py --- a/web/formfields.py Mon Sep 21 18:02:21 2009 +0200 +++ b/web/formfields.py Mon Sep 21 18:02:48 2009 +0200 @@ -283,7 +283,7 @@ # else we want a format selector fkwargs['widget'] = Select() fcstr = FormatConstraint() - fkwargs['choices'] = fcstr.vocabulary(req=req) + fkwargs['choices'] = fcstr.vocabulary(form=form) fkwargs['internationalizable'] = True fkwargs['initial'] = lambda f: f.form_field_format(self) field = StringField(name=self.name + '_format', **fkwargs)