You are right. It does not. I agree it would be nice to add an option to do it
On Jul 15, 1:56 am, Richard <richar...@gmail.com> wrote: > hi Massimo, > > I'm using form=crud() and I can view all the data and update or delete > a particular ID. But it doesn't seem to link all the parts together > like appadmin. > So I have a few of these around the place: > > <table> > {{ for book in books: }} > <tr> > <td><a href="{{= URL(r=request, f='crud/read/book', > args=book.id) }}">{{= book.title }}</td> > <td><a href="{{= URL(r=request, f='crud/update/book', > args=book.id) }}">Edit</a></td> > <td><a href="{{= URL(r=request, f='crud/delete/book', > args=book.id) }}">Delete</a></td> > </tr> > {{ pass }} > </table> > <a href="{{= URL(r=request, f='crud/create/book') }}">Add new</a> > > Is there some way to automate this with CRUD? > > Richard > > On Jul 15, 2:18 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > Have you tried exposing the action > > > def data(): return dict(form=crud()) > > > It is not quite a full appadmin because we have a crud.select but not > > yet a crud.search. I could use some help in porting the T2 search on > > crud. Should be very easy to do. > > > Massimo > > > On Jul 14, 8:18 pm, Richard <richar...@gmail.com> wrote: > > > > hello, > > > > Is it possible to make an appadmin like interface with just CRUD? > > > What I mean is being able to view all the records of a table, then > > > click on a record to go to another page where it can be updated or > > > deleted. > > > > Currently I provide my own interface to the CRUD update and delete > > > paths but this means I have some duplicate code for each table. Is > > > there a better way? > > > > Richard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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 -~----------~----~----~----~------~----~------~--~---