Oh...widget is literal...lol....
I added
<form method=post/>
{{=form.custom.widget.email}}
{{=form.custom.widget.password}}
{{=form.custom.submit}}
</form>
but...would not work...just brought be back to the login page. form
{{=form}} works...
On Sat, Aug 8, 2009 at 4:35 AM, Fran <[email protected]> wrote:
>
> On Aug 8, 3:28 pm, Dutch opera <[email protected]> wrote:
> > I am trying to style the auth.login() fields and access them
> > indivialuall so I can place them in separate div tags.
> > in the html I tried
> > form.custom.label.email
> > form.custom.label.password
> > Seemed to work. What about the widget type? using
> > form.custom.input.email gave me this error
> > AttributeError: 'NoneType' object has no attribute 'email'
>
> form.custom.widget.email
>
> > How do I also access the submit widget? e.g. form.custom.submit...
>
> Yes: form.custom.submit
>
> F
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---