Browse Source

Fix custom action recipe

The new css needs action links to have btn class to be visible.
Armin Weihbold 11 years ago
parent
commit
983f4c1f92
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Resources/doc/reference/recipe_custom_action.rst

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

@@ -132,7 +132,7 @@ namespace of your custom Admin Controller.
 
     {# src/Acme/DemoBundle/Resources/views/CRUD/list__action_clone.html.twig #}
 
-    <a href="{{ admin.generateObjectUrl('clone', object) }}">clone</a>
+    <a class="btn btn-small" href="{{ admin.generateObjectUrl('clone', object) }}">clone</a>
 
 Right now ``clone`` is not a known route, we define it in the next step.