浏览代码

Merge pull request #2957 from row-b/patch-1

Update form_types.rst
Thomas 10 年之前
父节点
当前提交
a2c09df5ae
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Resources/doc/reference/form_types.rst

+ 2 - 0
Resources/doc/reference/form_types.rst

@@ -85,6 +85,8 @@ btn_add, btn_list, btn_delete and btn_catalogue:
   with these parameters. Setting any of them to ``false`` will hide the
   with these parameters. Setting any of them to ``false`` will hide the
   corresponding button. You can also specify a custom translation catalogue
   corresponding button. You can also specify a custom translation catalogue
   for these labels, which defaults to ``SonataAdminBundle``.
   for these labels, which defaults to ``SonataAdminBundle``.
+  
+Note: An admin class for the linked model class needs to be defined to render this form type.  
 
 
 sonata_type_model_hidden
 sonata_type_model_hidden
 ^^^^^^^^^^^^^^^^^^^^^^^^
 ^^^^^^^^^^^^^^^^^^^^^^^^