Browse Source

Merge remote-tracking branch 'jaimesuez/master'

Thomas Rabaix 14 years ago
parent
commit
f42822a632

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

@@ -55,6 +55,7 @@ Types available
 - one_to_one
 - one_to_one
 - string
 - string
 - text
 - text
+- date
 
 
 if no type is set, the Admin class will use the one set in the doctrine mapping definition.
 if no type is set, the Admin class will use the one set in the doctrine mapping definition.
 
 

+ 5 - 4
Resources/doc/reference/list_field_definition.rst

@@ -29,10 +29,10 @@ Example
         }
         }
     }
     }
 
 
-As you can see, the filter fields are defined by overriding the ``filter_fields``
-property and giving each definition an array of options. You can also customize
-each field further by overriding the ``configureListFields()`` method, which
-is blank in the parent class.
+As you can see, the list fields are defined by overriding the ``list`` property
+and giving each definition an array of options. You can also customize each 
+field further by overriding the ``configureListFields()`` method, which is 
+blank in the parent class.
 
 
 Types available
 Types available
 ---------------
 ---------------
@@ -48,6 +48,7 @@ types include:
 * many_to_one : a link will be added to the related edit action
 * many_to_one : a link will be added to the related edit action
 * string
 * string
 * text
 * text
+* date
 
 
 If no type is set, the ``Admin`` class will use the type defined in the doctrine
 If no type is set, the ``Admin`` class will use the type defined in the doctrine
 mapping definition.
 mapping definition.