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:
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)
-
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
3 matches
Mail list logo