<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 %}
>
    {% for key, option in attributes['options'] %}
        <option
        {% if strings_are_equal(input_value, key) %}
            selected
        {% endif %}
            value="{{ key }}">{{ option }}</option>
    {% endfor %}
</select>
