{% for server in servers %} {% if server.5 == 1 %} {% else %} {% endif %} {% if server.4 == 1 %} {% else %} {% endif %} {% endfor %}