I am trying to add a div in a view _form before a specific input field, I can do it by simply using
and put my text in it, but I’d like to have it in different languages.
Right now I am using this
<?= Html::label(Yii::t('app', 'my-text-to-translate'), 'label1', ['class' => 'fz-hint']) ?>and it works, but it is a lable, and I want a simple div without the for=“label1” part which is useless for my div.
I tried reading Helpers: Html | The Definitive Guide to Yii 2.0 | Yii PHP Framework but couldn’t get how to do it.
Thank you