Re: [web2py] Re: Change "submit" text in generic submit button

2010-07-03 Thread Giuseppe Luca Scrofani
Thanks this worked well :)


[web2py] Re: Change "submit" text in generic submit button

2010-06-30 Thread mdipierro
I think what you need is this:

form = SQLFORM(,submit_button=T('click me! me! me!'))

or

crud.messages.submit_button = 'click me to proceed'
form=crud.create()

On 30 Giu, 11:04, Giuseppe Luca Scrofani  wrote:
> Hi where I have to look to change the default "submit" string of
> generic submit button in something else? I'm not interested in
> localizing the application (it have to remain english) but if it is
> the only way, how I can do this? Creating a "en" locales?


[web2py] Re: Change "submit" text in generic submit button

2010-06-30 Thread NetAdmin
Put something like this in your controller.

INPUT( _type = 'submit', _value = 'Save', _style ='width: 100px;' )


On Jun 30, 11:04 am, Giuseppe Luca Scrofani 
wrote:
> Hi where I have to look to change the default "submit" string of
> generic submit button in something else? I'm not interested in
> localizing the application (it have to remain english) but if it is
> the only way, how I can do this? Creating a "en" locales?