Browse Source

update formatting

Nicolas Ricci 11 years ago
parent
commit
2abcf77d1a
1 changed files with 4 additions and 10 deletions
  1. 4 10
      Resources/doc/cookbook/recipe_sortable_listing.rst

+ 4 - 10
Resources/doc/cookbook/recipe_sortable_listing.rst

@@ -129,11 +129,9 @@ Moving up the position is not a problem since we now the top position will be 0.
 	    }
 	}
 
-We then need to declare thisservice
+We then need to declare this service
 
-.. configuration-block::
-
-    .. code-block:: yaml
+.. code-block:: yaml
 
 	services:
 	    acme_demo.client.position:
@@ -182,9 +180,7 @@ We can now create our controller to implement the action defined in our Admin cl
 
 We now need to creat a handler for the new controller in ``admin.yml``
 
-.. configuration-block::
-
-    .. code-block:: yaml
+.. code-block:: yaml
 
 	services:
 	    acme.admin.client:
@@ -239,9 +235,7 @@ Last tricky part, in order to get the last position available in our twig templa
 
 And in  the admin.yml add the following call
 
-.. configuration-block::
-
-    .. code-block:: yaml
+.. code-block:: yaml
     
 	- [ setContainer, [ @service_container ] ]