Browse Source

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

Update form_types.rst
Thomas 10 years ago
parent
commit
a2c09df5ae
1 changed files with 2 additions and 0 deletions
  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
   corresponding button. You can also specify a custom translation catalogue
   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
 ^^^^^^^^^^^^^^^^^^^^^^^^