Massimo,
t3 is cool.
In the last hour (following your t3 video), I've made a basic foto
gallery with CRUD (create, read, update, delete).
In my lambda, how do i do:
db.foto.represent=lambda foto: TABLE(TR(TD(foto.id,_bgcolor='#dfdfdf')),\
TABLE(\
# show edit only when admin
if admin:
TR(TD(A('Edit',_href=t2.action('wiki/edit',foto.id)),_colspan=2)),\
....
thx
You could have done it in 5 minutes!!!
:) :)
-wj
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---