Cannot use htmlOptions=>labelOptions to apply Yii::t on label in $form->checkBoxRow

Issue #289 new
Bertrand TCHUENTE
created an issue

It seems that this instruction <?php echo $form->checkboxRow($model,'ENABLED',array('labelOptions'=>array('label'=>Yii::t('protected_config_users', 'ENABLED')))); ?> does not work in the view file to translate the label of my checkbox ENABLED; Do I use it correctly?

Comments (0)

  1. Log in to comment