Quentin Pleplé 14 年之前
父节点
当前提交
0a1766f07e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Resources/doc/reference/form_field_definition.rst

+ 1 - 1
Resources/doc/reference/form_field_definition.rst

@@ -30,7 +30,7 @@ Example
                 ->add('author', array(), array('edit' => 'list'))
                 ->add('enabled')
                 ->add('title')
-                ->add('abtract', array(), array('required' => false))
+                ->add('abtract', array('required' => false))
                 ->add('content')
 
                 // you can define help messages like this