瀏覽代碼

Merge pull request #2238 from phiamo/patch-1

Update action_list.rst
Thomas 10 年之前
父節點
當前提交
250e6d05ea
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Resources/doc/reference/action_list.rst

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

@@ -92,7 +92,7 @@ Options
 
 - ``type`` (m): defines the field type - mandatory for the field description itself but will try to detect the type automatically if not specified
 - ``template`` (o): the template used to render the field
-- ``name`` (o): the name used for the column's title
+- ``label`` (o): the name used for the column's title
 - ``link_parameters`` (o): add link parameter to the related Admin class when the ``Admin::generateUrl`` is called
 - ``code`` (o): the method name to retrieve the related value
 - ``associated_tostring`` (o): (deprecated, use associated_property option) the method to retrieve the "string" representation of the collection element.