{% if context == 'angular' %}
<cf-multi-select{{ this.getAttribs(context)|attribs }}{% if this.placeholder %} placeholder="{{ this.placeholder|raw }}"{% endif %}></cf-multi-select>
{% else %}
<input type="hidden" name="{{ this.name }}" value="" />
<select{{ this.getAttribs(context)|attribs }}>
{% for element in this.elements %}
    <option value="{{ element.name }}"{% if element.name in this.rawValues %} selected="selected"{% endif %}>{{ element.label|striptags }}</option>
{% endfor %}
</select>
{% endif %}