瀏覽代碼

Merge pull request #1930 from pulzarraider/patch-3

Fixed btn_batch outside batch block
Thomas 11 年之前
父節點
當前提交
1e9edafdf4
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Resources/views/CRUD/base_list.html.twig

+ 2 - 2
Resources/views/CRUD/base_list.html.twig

@@ -109,9 +109,9 @@ file that was distributed with this source code.
                                                     {% endfor %}
                                                 </select>
                                             {% endblock %}
+                                            
+                                            <input type="submit" class="btn btn-small btn-primary" value="{{ 'btn_batch'|trans({}, 'SonataAdminBundle') }}">
                                         {% endblock %}
-
-                                        <input type="submit" class="btn btn-small btn-primary" value="{{ 'btn_batch'|trans({}, 'SonataAdminBundle') }}">
                                     {% endif %}
 
                                     <div class="pull-right">