1 <select name="{{ select_name }}"{% if id is not empty %} id="{{ id }}"{% endif -%}
2 {%- if class is not empty %} class="{{ class }}"{% endif %}>
3 {% if placeholder is not empty %}
4 <option value="" disabled="disabled"
5 {%- if not selected %} selected="selected"{% endif %}>{{ placeholder }}</option>
7 {% for option in result_options %}
8 <option value="{{ option['value'] }}"
9 {{- option['selected'] ? ' selected="selected"' }}>{{ option['label'] }}</option>