{{if not auth.is_logged_in():}}
{{form=auth.login()}}
{{=form.custom.begin}}
<input name="email"/>
<input name="password"/>
{{=form.custom.end}}
{{pass}}On Sep 5, 1:30 pm, eddwinston <[email protected]> wrote: > Hi, > > If I just use {{if not auth.is_logged_in(): response.write(auth.login > ())}}. It displays the form and that is very okay, but what about > customising the form. I would like to specify class name and stuffs > like that. How can I pass in such extra value. Thanks > > Regards, > Winston > > On Sep 5, 9:05 pm, mdipierro <[email protected]> wrote: > > > in layout you can do: > > > {{if not auth.is_logged_in(): response.write(auth.login())}} > > > Massimo > > > On Sep 5, 12:41 pm, eddwinston <[email protected]> wrote: > > > > Hi, > > > > I want a have a case like this, the authentication form will be > > > displayed on the page at all times if the user is not authenticated > > > irrespective of controller/action, how do i create such a form since > > > it wont be controller/action specific? Thanks. > > > > Regards > > > Winston --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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 -~----------~----~----~----~------~----~------~--~---

