0

In Symfony docs they say to use this

<div>
    {{ form_label(form.task) }}
    {{ form_errors(form.task) }}
    {{ form_widget(form.task) }}
</div>

But this generates the label element.

But I want to have table <td> instead of <label>

And also for the input textbox, I want to mention the size of text box. Where can I do that?

4

1 回答 1

3

您必须定义您的表单主题

可能,本教程就是您正在寻找的

于 2012-07-28T19:19:40.460 回答