{% if get_type(field.options) == "str" %} {% set options = value %} {% else %} {% set options = field.options %} {% endif %} {% if get_type(options) == "Collection" %} {% set options_type = "Collection" %} {% else %} {% set options_type = "list" %} {% endif %} {% if field.colspan %} {% set colspan = "col-lg-" + field.colspan %} {% else %} {% set colspan = "col-lg-4" %} {% endif %}
{% if view_mode != "list" %} {% endif %}