Просмотр исходного кода

Merge pull request #382 from benji07/patch-2

Undefined variable field_description
Thomas 13 лет назад
Родитель
Сommit
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 %}