This question is so basic, it’s kind of embarrassing, but here goes…
This is for Symfony 1.4 – I am trying to modify some auto-generated forms in a Symfony 1.4 app. The problem is, the widgets are rendered too small to display all of the text in the field. For example, in the database table, I have a field of type varchar(50), but the widget only displays 20 characters. I have tried to increase the size in the _form class e.g.
<td colspan="4"> <?php echo $form['email'] ?></td>
but this doesn’t appear to have any effect.
Any help is much appreciated.
You can achieve that in differents ways.
You give some attributes to the render.
You give some attributes to the widget.