Browse Source

Fix junior's error ;)

Thomas Rabaix 12 năm trước cách đây
mục cha
commit
567fc0df42
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Resources/views/CRUD/base_show_field.html.twig

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

@@ -10,4 +10,4 @@ file that was distributed with this source code.
 #}
 
 <th>{% block name %}{{ admin.trans(field_description.label) }}{% endblock %}</th>
-<td>{% block field %}{% if field_description.options.safe %}{{ value|raw }}else{{ value|nl2br }}{% endif %}{% endblock %}</td>
+<td>{% block field %}{% if field_description.options.safe %}{{ value|raw }}{% else %}{{ value|nl2br }}{% endif %}{% endblock %}</td>