[SOLVED] passwordField


If I use:

echo Chtml::passwordField($user, 'password');

I get this error:

Object of class User could not be converted to string

but if I use:

echo Chtml::activePasswordField($user, 'password');

It works, what Iam missing, or doing wrong?

See the params of both in the Class reference



the active version works with the object while you have to give the name of the param to passwordField

OMG thought to much in ruby on rails oO