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