Browse Source

Merge pull request #2825 from EmmanuelVella/patch-18

Add inline option to show array type
Thomas 10 năm trước cách đây
mục cha
commit
b085e91899
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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 %}