Correction:
Instead of register["_class"] = "bla", do:
register.element(_name='fieldNAME')['_class'] = "custom_css_classes"

On May 3, 5:18 pm, waTR <[email protected]> wrote:
> The way to do it is to do the following in the controller:
>
> register = auth.register()
> login = auth.login()
>
> Then, you can use:
> register["_class"] = "custome_css_classes"
>
> and same for login. Then I simply pass a "return
> dict(register=register, login=login)", and I have two forms available
> for me to use "{{=register.custom.widget.bla}}" with in view.
>
> On May 3, 5:07 pm, waTR <[email protected]> wrote:
>
>
>
> > Is there any way to use form.custom.widget with AUTH.register() and
> > AUTH.login()  ?
>
> > I have a design I am trying to plug my code into, and wanted to try
> > not re-writing the login/register stuff this time.

Reply via email to