瀏覽代碼

Fix #o1265

Thomas Rabaix 12 年之前
父節點
當前提交
839771a96d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Resources/views/CRUD/delete.html.twig

+ 1 - 1
Resources/views/CRUD/delete.html.twig

@@ -33,7 +33,7 @@ file that was distributed with this source code.
 
         <h1>{{ 'title_delete'|trans({}, 'SonataAdminBundle') }}</h1>
 
-        {{ 'message_delete_confirmation'|trans({'%object%': object}, 'SonataAdminBundle') }}
+        {{ 'message_delete_confirmation'|trans({'%object%': admin.toString(object)}, 'SonataAdminBundle') }}
 
         <div class="well form-actions">
             <form method="POST" action="{{ admin.generateObjectUrl('delete', object) }}">