{% if field.getOptions|length %} {% for id, opt in field.getOptions %} {% endfor %} {% else %} {% endif %}