Form labels

I've created test-drive application as described in the guide. Then I wanted to modify some things, jut of testing.

One of them is creating new labels for the "create new user record" form.

I uncommended attributeLabels() function and put there:

public function attributeLabels()


{


	return array(


		'username'=>'Login',


		'password'=>'Password',


		'email'=>'Email',


	);


}

But the form still displays “Username” :( What’s wrong?

I couldn't reproduce the issue. Which file are you changing? Note that you should change User.php rather than LoginForm.php.

Um… When I tested once more - everything is fine.

Could this be caching issue? If so, where to enable/disable/setup this?

No, there's no cache for this.

it could be browser side caching

maybe. Anyway, it’s OK now :)

Thanks.