The simpler is what you mention in model :

db.define_talbe(...
    Field(..., label=''),
    ...

You use this snippet to iterrate over your fields :
[ db[request.args(0)][field].label = '' for field in
db[request.args(0)].fields ]

The other solution I see is custom form :

http://web2py.com/books/default/chapter/29/07#Custom-forms

And it much more work and not pratical when you modify your app frequently
during developpement because you have to think about modifying your custom
form each time...

Hops it helps




On Tue, Mar 19, 2013 at 1:13 PM, carlo <[email protected]> wrote:

> How can I get SQLFORM not showing any label?
>
> I remembered labels=None but it's not working: only way I found is passing
> a labels dict with mykey='', not very practical.
>
> By the way I am replicating the mywiki code from the manual: it coulf be
> upgraded because "page" and "document", from the error I got,  are now
> reserved keywords.
>
> Carlo
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to