WouterJ hace 9 años
padre
commit
b94a4bcf4b

+ 3 - 3
Resources/doc/getting_started/creating_an_admin.rst

@@ -96,8 +96,8 @@ on Admin classes to know which models will be managed and how these actions
 will look like.
 
 An Admin class decides which fields to show on a listing, which fields are used
-to search and how the create form will look like. Each model will have its own
-Admin class.
+to find entries and how the create form will look like. Each model will have
+its own Admin class.
 
 Knowing this, let's create an Admin class for the ``Category`` entity. The
 easiest way to do this is by extending ``Sonata\AdminBundle\Admin\Admin``.
@@ -132,7 +132,7 @@ easiest way to do this is by extending ``Sonata\AdminBundle\Admin\Admin``.
 
 So, what does this code do?
 
-* **Line 11-14**: These lines configure which fields are display on the edit
+* **Line 11-14**: These lines configure which fields are displayed on the edit
   and create actions. The ``FormMapper`` behaves similar to the ``FormBuilder``
   of the Symfony Form component;
 * **Line 16-19**: This method configures the filters, used to filter and sort

+ 5 - 5
Resources/doc/getting_started/installation.rst

@@ -88,9 +88,9 @@ line in the `app/AppKernel.php` file of your project:
 
 .. note::
 
-    Since version 2.3, the bundle comes with jQuery and other front-end libs.
-    To update the versions (which isn't required), you can use `Bower`_. To
-    make sure you get the dependencies that match the version of
+    Since version 2.3, the bundle comes with jQuery and other front-end
+    libraries. To update the versions (which isn't required), you can use
+    `Bower`_. To make sure you get the dependencies that match the version of
     SonataAdminBundle you are using, you can make bower use the local bower
     dependency file, like this:
 
@@ -114,7 +114,7 @@ admin block:
         blocks:
             # enable the SonataAdminBundle block
             sonata.admin.block.admin_list:
-                contexts:   [admin]
+                contexts: [admin]
             # ...
 
 .. note::
@@ -167,7 +167,7 @@ learn how to do this in the :doc:`next chapter <creating_an_admin>`.
 
 .. _`installation chapter`: https://getcomposer.org/doc/00-intro.md
 .. _SonataDoctrineORMAdminBundle: http://sonata-project.org/bundles/doctrine-orm-admin/master/doc/index.html
-.. _SonataMongoDBAdminBundle: http://sonata-project.org/bundles/mongo-admin/master/doc/index.html
+.. _SonataDoctrineMongoDBAdminBundle: http://sonata-project.org/bundles/mongo-admin/master/doc/index.html
 .. _SonataPropelAdminBundle: http://sonata-project.org/bundles/propel-admin/master/doc/index.html
 .. _SonataDoctrinePhpcrAdminBundle: http://sonata-project.org/bundles/doctrine-phpcr-admin/master/doc/index.html
 .. _Bower: http://bower.io/

+ 1 - 1
Resources/doc/getting_started/the_form_view.rst

@@ -209,7 +209,7 @@ If you get even more options, you can also use multiple tabs by using the
 
     $formMapper
         ->tab('Post')
-            ->group('Content', ...)
+            ->with('Content', ...)
                 // ...
             ->end()
             // ...