change CActiveForm::field() output

I need to change a bit output of field() method. I need to output between <label> and <input> tags some html. what’s the correct way of doing this?

You can change the template of the ActiveField : http://www.yiiframework.com/doc-2.0/yii-widgets-activefield.html#$template-detail