<label for="{{ id }}" class="block text-sm font-medium text-gray-700 mt-2">
    {{ label }}
</label>
<select id="{{ id }}" name="{{ name }}" class="border rounded-lg p-2 w-full" {% if required %} required {% endif %}>
    {% for option in options %}
        <option value="{{ option.value }}" {% if option.value == value %} selected {% endif %}>{{ option.text }}</option>
    {% endfor %}
</select>
