Merge "Fix hiding of selects when switchable" into stable/ocata

This commit is contained in:
Jenkins 2017-03-09 02:53:44 +00:00 committed by Gerrit Code Review
commit 29179726e1
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
name="{{ name }}"
{% endif %}
{% for k,v in select_attrs.items %}
{% if k != 'class' %}
{% if k != 'class' or 'switch' in v %}
{{ k|safe }}="{{ v }}"
{% endif %}
{% endfor %}