Answer the question
In order to leave comments, you need to log in
How to insert tags in Zend Framework 2 inside a Label (the form is created using Form)?
Good time!
The problem is that when creating a form, I need to insert a span tag inside the label so that the text written there is smaller than the main one, but if I write tags directly:
$this->add(array(
'name' => 'login',
'options' => array(
'label' => '<b>Логин</b>'
),
.....................
'escape' => false,
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question