Hello,
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?
Hello,
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
http://www.yiiframew…ordField-detail
http://www.yiiframew…ordField-detail
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