label field

hi all,

i want in my _form.php a label to be written where i shouldnt get the label value from model.any syntax for writing label without model.

regards

as you are in a view… you can just write the (X)HTML code as you need it…

or

use CHtml::label() - http://www.yiiframework.com/doc/api/1.1/CHtml#label-detail