Hi there,
Got a few questions about labels for fields in standard application/view in Yii:
One. Why there is no colon after label text for each label attribute generated with using standard view? Does English doesn’t need them there? Have to write my own function for workaround this problem.
Two. Why there isn’t easy way to add colon after field, why solution:
echo($form->labelNA($model, 'login').':');
isn’t working like supposed - i.e. colon lands in a new line, proceeding field? Have to write my own function for workaround this problem! :]
Three. Finally, if setting $htmlOption[‘required’] to true and passing it is generating asterisk no matter, if corresponding field is required or not, then why doesn’t it work the other way - i.e. why doesn’t this function is forced not to generate asterisk, no matter, if field or isn’t reqired? Have to write my own function for workaround this problem! :}
Cheers!