Thomas Rabaix %!s(int64=13) %!d(string=hai) anos
pai
achega
35bf83d317
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 %}
     {% spaceless %}
         id="{{ id }}"
         id="{{ id }}"
         {% for attrname,attrvalue in attr %}{{attrname}}="{% if attrname == 'class' %}inputs-list {% endif%}{{attrvalue}}" {% endfor %}
         {% 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 %}
     {% endspaceless %}
 {% endblock %}
 {% endblock %}