Symfony form differences between row and widget
问题 What is the differences between form_widget and form_row ? I know that in form_row i can add label in attributes, and form_widget render all fields. are there others difference? 回答1: From documentation: form_widget Renders the HTML widget of a given field. If you apply this to an entire form or collection of fields, each underlying form row will be rendered. form_row Renders the "row" of a given field, which is the combination of the field's label, errors and widget. So main difference is