Browse Source

Fix #o1265

Thomas Rabaix 12 năm trước cách đây
mục cha
commit
839771a96d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) }}">