On Jul 22, 9:55 pm, Fran <francisb...@googlemail.com> wrote:
> >    3) How to personalize the generated HTML by the CRUD, for example,
> > can I assign an ID or a CSS class for the generated HTML table of
> > select action ?
> Unfortunately crud doesn't support doing things like:
> form = crud.create(db.table, _id='myid', _class='myclass')

This works though :)
form = crud.create(db.table)
form['_class'] = 'myclass'
form['_id'] = 'myid'

F

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to