[web2py] Re: How do I change the sqlform button location

2017-05-12 Thread Paolo Caruccio
For label within its related input, you could use placeholder HTML attribute. In order to accomplish this you could customize the field widget. For example, the widget for the password field of auth_user table could be db.auth_user.password.widget=lambda f, v:

[web2py] Re: How do I change the sqlform button location

2017-05-10 Thread 'hardclock' via web2py-users
Thank you but could you explain more about the custom.widget?Is it a custom widget that I can make and can I add it to css or only on the html files in view? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: How do I change the sqlform button location

2017-05-10 Thread Lars
Hi, For custom styles, you should use the web tools addons in firefox to get the chain of formattings : you click on the button you want to customize and you have all css styles matching it. To change the disposition of the widgets (input, button, etc..), for a complete customization you