I have been working on this issue together with another web2py enthusiast for the last few weeks. He is away till Tues so I believe we can jointly post a response with some details soon after Tuesday. I developed the core technique and then he 'ran' with it to apply it to customize to allow using custom view .html files with crud() and I believe also with auth()
On May 22, 6:19 am, salbefe <[email protected]> wrote: > Hello, > > I have the following question . It's possible to customize the forms > that comes by default > when web2py exposes then following urls? > > I mean, if in the controller I have the following function > > def user(): > """ > exposes: > http://..../[app]/default/user/login > http://..../[app]/default/user/logout > http://..../[app]/default/user/register > http://..../[app]/default/user/profile > http://..../[app]/default/user/retrieve_password > http://..../[app]/default/user/change_password > """ > return dict(form=auth()) > > and in the view the following code > > {{extend 'layout.html'}} > <h2>{{=request.args[0].replace('_',' ').capitalize()}}</h2> > {{=form}} > > I would like to customize the forms registrer, profile, etc, on the > view but I do not know how. Could anyone help me, please!! > > Thanks in advance --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

