瀏覽代碼

Merge pull request #100 from deoxxa/fix-field-documentation

corrected the documentation on form field options
Thomas 14 年之前
父節點
當前提交
bb4312dafc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Resources/doc/reference/form_field_definition.rst

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

@@ -18,7 +18,7 @@ Example
             'author' => array('edit' => 'list'),
             'author' => array('edit' => 'list'),
             'enabled',
             'enabled',
             'title',
             'title',
-            'abstract',
+            'abstract' => array('form_field_options' => array('required' => false)),
             'content',
             'content',
         );
         );