<div class="btn-group btn-group-sm btn-group-toggle flex-wrap justify-content-center">
    {% for url, classes, key, label in status_choices %}
        <a class="btn btn-outline-secondary {{ classes }}" href="{{ url|default:"?" }}">
            {% if key %}
                <span class="transcription-status-key bg-{{ key }}"></span>
            {% endif %}

            {{ label }}
        </a>
    {% endfor %}
</div>
