On 6/7/12, Richard Vézina <[email protected]> wrote:
> I am almost sure I saw a email were Massimo explain how to set a different
> text for "submit" button, can't find it back...
>
> Have you try with SQLFORM attribute ? Or SQLFORM attribute with "_" before
> : _submit_button = 'Submit'
Well, I looked at the code in gluon/sqlhtml.py
the SQLFORM class @staticmethod grid() does not take submit_button or
_submit_button and doesn't (so far as I can tell) accept *args or
**kwargs parameters. Further, the code itself for handling the edit
case creates a SQLFORM and passes in the submit_button parameter with
a hard coded value. But I'm new to this code base and there may be
other paths or other places where things are changed after they are
made...
Thanks!
--Doug