考虑这段代码:
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->add('name', 'text')
->add('description', 'textarea')
->add('status', 'choice', array('choices' => array('online' => 'online', 'offline' => 'offline')))
->add('save', 'submit');
}
但是当我渲染这个表格时,我会按顺序得到它
description
name
status
除了手动编写表单模板外,我还能如何更改它。