Using Symfony 3 and building a form field like this:
$builder
->add('tittle')
->add('price');
The result is something like:
<div>
<label ...></label>
<input ...>
</div>
and I want the result to include custom css classes in the wrapping div, like:
<div class='wrap-title'>
<label ...></label>
<input ...>
</div>
<div class='wrap-price'>
<label ...></label>
<input ...>
</div>
Trying to do as described here doesn't offer a way to add a class to the wrapping div, just the things inside it.
I don't want to use the bootstrap themes. I really need to add something of my own as a class there. Is that even possible?