<div{{ attributes }}>
    <label class="text-gray-50" for="quality">{{ label }}</label>
    <select class="p-1.5 rounded-md mb-2" name="quality" id="quality" value="{{ value }}">
        {% if true == show_na %}
            <option class="text-gray-800"
                    value=""
                    {{ value is null ? "selected" }}
            >n/a</option>
        {% endif %}
        {% for option in options %}
            <option class="text-gray-800"
                    value="{{ option.value }}"
                    {{ quality == option.value ? "selected" }}
            >{{ option.label }}</option>
        {% endfor %}
    </select>
</div>