瀏覽代碼

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 %}
                 {% if name %}
                     <tr class="sonata-ba-view-title">
                     <tr class="sonata-ba-view-title">
                         <td colspan="2">
                         <td colspan="2">
-                            {{ admin.trans(field_description.label) }}
+                            {{ admin.trans(name) }}
                         </td>
                         </td>
                     </tr>
                     </tr>
                 {% endif %}
                 {% endif %}