I create my form with
args = {}
args['submit_button'] = T('Insert person')
form = SQLFORM.factory(Field('new_seller', 'integer',
requires=IS_IN_DB(.........), **args)
in my view I show it with
{{=form}}
and it looks like
New Seller: a dropdown list
it works nicely, but then I would like to translate the 'New Seller'
text and per online book it should work like:
{{=form.custom.begin}}
{{=T('Add seller')}}: <div>{{=form.custom.widget.add_seller}}</div>
{{=form.custom.end}}
The text is translated, but instead of the dropdown list I get the
text 'None', no dropdown.
Kenneth