浏览代码

Fix markup

Thomas Rabaix 13 年之前
父节点
当前提交
35bf83d317
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Resources/views/Form/form_admin_fields.html.twig

+ 1 - 1
Resources/views/Form/form_admin_fields.html.twig

@@ -45,7 +45,7 @@ file that was distributed with this source code.
     {% spaceless %}
         id="{{ id }}"
         {% for attrname,attrvalue in attr %}{{attrname}}="{% if attrname == 'class' %}inputs-list {% endif%}{{attrvalue}}" {% endfor %}
-        {% if "class" not in attr %}class="inputs-list"{%endif %}
+        {% if "class" not in attr|keys %}class="inputs-list"{%endif %}
     {% endspaceless %}
 {% endblock %}