Переглянути джерело

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.