浏览代码

Add inline option to show array type

Emmanuel Vella 10 年之前
父节点
当前提交
5baf109cb8
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Resources/views/CRUD/show_array.html.twig

+ 1 - 0
Resources/views/CRUD/show_array.html.twig

@@ -18,5 +18,6 @@ file that was distributed with this source code.
         {% else %}
             [{{ key }} => {{ val }}]
         {% endif %}
+        {% if field_description.options.inline is not defined or false == field_description.options.inline %}<br>{% endif %}
     {% endfor %}
 {% endblock %}