浏览代码

Merge pull request #382 from benji07/patch-2

Undefined variable field_description
Thomas 13 年之前
父节点
当前提交
062167ee7e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Resources/views/CRUD/base_show.html.twig

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

@@ -34,7 +34,7 @@ file that was distributed with this source code.
                 {% if name %}
                     <tr class="sonata-ba-view-title">
                         <td colspan="2">
-                            {{ admin.trans(field_description.label) }}
+                            {{ admin.trans(name) }}
                         </td>
                     </tr>
                 {% endif %}