Explorar o código

Merge pull request #100 from deoxxa/fix-field-documentation

corrected the documentation on form field options
Thomas %!s(int64=14) %!d(string=hai) anos
pai
achega
bb4312dafc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Resources/doc/reference/form_field_definition.rst

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

@@ -18,7 +18,7 @@ Example
             'author' => array('edit' => 'list'),
             'enabled',
             'title',
-            'abstract',
+            'abstract' => array('form_field_options' => array('required' => false)),
             'content',
         );