Browse Source

Fix markup

Thomas Rabaix 13 years ago
parent
commit
35bf83d317
1 changed files with 1 additions and 1 deletions
  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 %}