{% if attrs.readonly %}
{% for value, text, selected in choices %} {% if selected %}
{{ text }}
{% endif %} {% endfor %}
{% else %}
Select
{% for value, text, selected in choices %}
{{ text }}
{% endfor %}
Deselect
{% for value, text, selected in choices %}
{{ text }}
{% endfor %}
{% endif %}