<select
    type="{{ attributes['type'] }}"
    id="{{ attributes['id'] }}"
    name="{{ attributes['input_name'] }}"
    class="{{ attributes['class'] }}"
    {% for attribute_name, value in additional_attributes %}
        {{ attribute_name }}="{{ value }}"
    {% endfor %}
>
    <option value="">{{ input_value }}</option>
    {% for key, option in attributes['options'] %}
        <option
        {% if input_value == key %}
            selected
        {% endif %}
            value="{{ key }}">{{ option }}</option>
    {% endfor %}
</select>
