On Fri, Sep 25, 2009 at 01:50, Richard <richar...@gmail.com> wrote: > > If you just want to customize the submit button label you can use: > form = SQLFORM(db.mytable, submit_button='new submit label') > > > Or if you need to customize more probably you should use FORM: > FORM( > INPUT(_name='name', requires=IS_NOT_EMPTY()), > INPUT(_type='submit', _value='new submit label') > )
web2py does not provide 'built-in' translation for 'submit' label yet. What I do, to let my app more translatable is: form = SQLFORM(db.mytable, submit_button=T('new submit label')) > Have you got the manual to check out the examples in chapter 7? If not > you can view it online: http://www.scribd.com/doc/19211452/Web2py-Manual > > Richard > > > On Sep 25, 1:31 pm, Alexandre Andrade <alexandrema...@gmail.com> > wrote: >> I cant figure how to do it with >> form = FORM >> form = SQLFORM >> form = SQLFORM.factory >> >> -- >> Atenciosamente >> >> -- >> ========================= >> Alexandre Andrade >> Hipercenter.com > > > -- Álvaro Justen Peta5 - Telecomunicações e Software Livre 21 3021-6001 / 9898-0141 http://www.peta5.com.br/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---